One of my big pains with samba is amount of CUPS cant connect errors it has been putting in my messages file.
Finally after trying to find something relevant in my log files I cracked and had to figure out how to switch it off. Hunting high and low I eventually came across the solution and this is it.
Edit the /etc/samba/smb.conf file and put the following lines in
Put this in your smb.conf.
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
You will then see your messages file size reduce dramatically.