On my fileserver, I have printing disabled in Samba but still I get all these messages in the logs:
[2011/12/08 10:18:26.821280, 0] printing/print_cups.c:108(cups_connect)
Unable to connect to CUPS server localhost:631 - Connection refused
I don't want Samba to offer printers. After trying some configurations, I found this made smbd stop trying:
load printers = no printing = bsd printcap name = /dev/null |
Geeklab, you rock. This worked great!
+1. Also worked on my Debian system (no longer these "unable to connect" messages)
Linux xxxxx 3.2.0-0.bpo.4-686-pae #1 SMP Debian 3.2.46-1~bpo60+1 i686 GNU/Linux
Samba version 3 : 2:3.5.6~dfsg-3squeeze8