[Samba] excessive lpstat calls
Gerald (Jerry) Carter
jerry at samba.org
Wed Oct 12 13:28:07 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Andrew Morgan wrote:
| On Tue, 11 Oct 2005, Gerald (Jerry) Carter wrote:
|> -----BEGIN PGP SIGNED MESSAGE-----
|> Hash: SHA1
|> Andrew Morgan wrote:
|> | I run a fairly busy samba server that only serves up users' home
|> | directory. I am running Samba v3.0.20 under Solaris 10 on a Sun v440.
|> | I'm seeing a large number of calls to '/usr/bin/lpstat -v'. These are
|> | probably occuring everytime a new client connects, but I'm not
|> | The server does not have any printers attached to it, has no entries in
|> | /etc/printers.conf, and is not running lp services at all. I am unable
|> | to remove the lp packages from the system due to dependencies. I have
|> | no intention of using Samba as a print server on this machine, so I'd
|> | like to disable printing entirely and prevent Samba from calling lpstat
|> | continuously.
|> | I've attached my smb.conf file. Any suggestions?
|> Try setting "printing = bsd" and "printcap name = /dev/null".
|> Although we really shouldn't be looking for printers at all
|> when there ie no [printers] section in smb.conf.
| Thanks Jerry, this worked. Should I file a bug on
| this so it doesn't get lost?
You just just send me a level 10 smbd debug log of the lpstat
issue? I think I can figure it out pretty quickly.....
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba