--MW5yreqqjyrRcusr
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Nov 12, 2004 at 11:43:53AM -0600, Gerald Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> jerry@samba.org wrote:
> | Author: jerry
> | Date: 2004-11-12 17:39:32 +0000 (Fri, 12 Nov 2004)
> | New Revision: 3708
> |
> | WebSVN:
> http://websvn.samba.org/cgi-bin/view...t=3Dsamba&rev=

=3D3708
> |
> | Log:
> | BUG 1838: patch from Gavrie Philipson
> | to remove stale printers when reloading after a sighup
> | Modified:
> | branches/SAMBA_3_0/source/smbd/server.c
>=20
> I'm not sure if the 'printcap cache time' option is really
> necessary anymore since we clean out the printers list
> after (a) receieving a sughup,


Jerry,

that alone isn't enought in real as we don't want the CUPS admin to call
the Samba admin by phone to issue a SIGHUP.

> and (b) periodically reloading
> the services (every 3 minutes).


If this ensures to remove stale printers and to add printers added to
the printing system in between the last reload then we should remove the
'printcap cache time' option.

> What do you think ? Looks ot me that we have a built in
> time of 3 minutes and unless the 'printcap cache time' is
> less that that, smbd will just do extra, uneccessary work.


Remove it. Best if the changes are included in 3.0.9. Then I'll remove
'printcap cache time' from our default smb.conf.

Lars
--=20
Lars M=C3=9CLLER [=CB=88la=CB=90(r)z =CB=88m=CA=8Fl=C9=90]
SuSE Linux Products GmbH, Maxfeldstra=C3=9Fe 5, 90409 N=C3=BCrnberg, Germany

--MW5yreqqjyrRcusr
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBlSee4NBiK0FKV8MRAveSAJ91i63KHW4gvcexCnL89A pLw3MG2QCgiPND
SUscTlAzKjo1QWzUUqlA77Q=
=W9JE
-----END PGP SIGNATURE-----

--MW5yreqqjyrRcusr--