Dave's Brain

Browse - computer tips - smbd unable to connect to cups server

Date: 2008may5
OS: Linux

Q.  I have printing disabled in Samba but still puts tons of lines like
this in the syslog:`

	May  5 09:45:02 www smbd[<pid>]: [2008/05/05 09:45:02, 0] printing/print_cups.c:cups_connect(69)
	May  5 09:45:02 www smbd[<pid>]: Unable to connect to CUPS server localhost:631 - Connection refused

(CUPS = Common UNIX Printing System)
How to I stop this?

A.  You really have to hit Samba over the head to disable printing.

After trying many things, this did the trick for me:

	load printers = no		(this alone isn't enough)
	show add printer wizard = no
	printing = none
	printcap name = /dev/null
	disable spoolss = yes

Hope it helps you.

Add a comment

Sign in to add a comment
Copyright © 2008, dave - Code on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License.