Commenting out all printing-related config lines from /etc/samba/smb.conf
is not sufficient to prevent these errors from showing up in logs:
[2013/10/24 00:36:01.269082, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such file or directory
[2013/10/24 00:36:01.269553, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
Really turn all the printer stuff by adding these lines to smb.conf
:
load printers = no
printing = bsd
printcap name = /dev/null
The original source of this tip is probably this 2006 mailing list message