[Samba] Restart Samba to pickup added CUPS printers?

Gerald (Jerry) Carter jerry at samba.org
Wed Sep 15 22:06:14 GMT 2004


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

Joshua Penix wrote:
|
| On Sep 15, 2004, at 1:49 PM, Michael Lueck wrote:
|
|> Is telling Samba to restart the only method to
|> have it detect new CUPS  printers. I have Samba configured
|> to share what ever CUPS printers it finds set up in CUPS. A
|> bit annoying to kick everyone out of Samba to add a printer.
|
|
| No, you can send the HUP signal to the running smbd
| processes to have  them see new printers without disconnecting
| the clients.  This also  causes a re-read of smb.conf and a
| few other things.
|
| killall -sHUP smbd

Or you can use the 'printcap cache time' option (added a
few releases ago).  See the smb.conf(5) man page for details.






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

iD8DBQFBSLzWIR7qMdg1EfYRAtXUAJ0WQblESIsiFn38Gk4ucIWH/TevQgCg6OQO
rIgGveoDaJfCNEEU9WNAEHM=
=vgky
-----END PGP SIGNATURE-----


More information about the samba mailing list