[Samba] Re: Restart Samba to pickup added CUPS printers?

Gerald (Jerry) Carter jerry at samba.org
Thu Sep 16 01:27:47 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Lueck wrote:

| Thanks Jerry, I'll check this one out.
|
| Performance issues of setting it to a "low" time
| period. Does it  actually "do" something every time, or
| only if it detects CUPS had a change?

I don't specifically remember (Lars @ SuSE wrote the code).
IIRC smbd will parse the service array (in memory) and checks
to see if new printers need to be added and if old ones need
to be deleted.  And this is done per smbd so on an active
server, you will probably see a hit if you set it extremely
low.

IMO a time of about 900 seconds (15 minutes) is probably ok.
But experiement and see what works for you.





cheers, jerry
- ---------------------------------------------------------------------
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBSOwTIR7qMdg1EfYRAkzyAJ4sb5ZQMyPZl1NzOxvfld30iPRcVgCcCs0g
dcy0sHDfaFbw5sGz6RvIE1c=
=STqG
-----END PGP SIGNATURE-----


More information about the samba mailing list