Unable to connect to CUPS server localhost:631 – Connection refused

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
© GeekLabInfo Unable to connect to CUPS server localhost:631 - Connection refused is a post from GeekLab.info. You are free to copy materials from GeekLab.info, but you are required to link back to http://www.geeklab.info

1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 5.00 out of 5)
Loading...

2 comments on “Unable to connect to CUPS server localhost:631 – Connection refused”

  1. +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

Leave a Reply