I'm running CentOS on a storage server that has to do file sharing for with Windows machines. SMB version is smbd version 3.5.5-68.fc13
I'm getting a lot of error messages in /var/log/messages regarding failed attempts to connect to a CUPS server. They look like this:
Nov 30 18:49:34 big03 smbd[9927]: [2010/11/30 18:49:34.850620, 0] printing/print_cups.c:108(cups_connect)
Nov 30 18:49:34 big03 smbd[9927]: Unable to connect to CUPS server localhost:631 - Connection refused
I understand that the issue is generated by the fact that SMB comes with printer sharing support, but I'm really not interested in that. I just want to disable the feature to get rid of the messages.
Any idea how I can do that?
Commenting out the printers section actually does nothing, add this to your smb.conf:
(spoolss is not a typo)
Becareful about missing network interfaces referenced in Samba config file! Put: log level = 2 into cinfig file, restart Samba and check log entries. Worked for me ;-)