Hi Tim, On Tue, 19 Jul 2011 10:16:49 -0500 (CDT) Tim Kelley <[email protected]> wrote:
... > The problem is obviously this, from the samba logs: > [2011/03/28 14:09:43, 0] printing/print_cups.c:103(cups_connect) > Unable to connect to CUPS server localhost:631 - Connection refused Please provide full logs with log level = 10 configured in smb.conf. Also, does anything relevant appear in the cups access log? > > However, cupsd is most certainly listening on localhost:631, and an lpstat -a > -h localhost gives a list of printers. Why is samba not able to communicate > with it? I've turned off all security measures (apparmor, etc.) but still no. Hmm. In my case lpstat always connects to the local cupsd via the Unix domain socket (e.g. /var/run/cups/cups.sock), even with the -h option specified. Looks like it's due to /etc/cups/client.conf configuration. You may want to check with strace whether yours is doing the same. Cheers, David -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
