Dave's Brain

Browse - Computer Tips - Why do I have "Unable to connect to CUPS server" when I have printing diabled in Samba?

Date: 2008may5
OS: Linux
Product: cups

Q.  Why do I have "Unable to connect to CUPS server" when I have printing diabled in Samba?
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-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.