Freebsd Samba won’t start.. silly cups

I don’t provide any print services from my FreeBSD box. So when samba refused to start because of a cups connection problem I was pretty confused.

[user@test ]$ tail -f /var/log/samba/log.smbd

[2009/07/29 10:06:14, 0] printing/print_cups.c:cups_connect(69)
Unable to connect to CUPS server localhost:631 – Connection refused

After some google work I found this.

For those seeing the same error, it’s apparently solved by adding this
line to [global]:
printcap name = /etc/printcap

So a quick trip to “/usr/local/etc/smb.conf” and I uncomment:

;     printcap name = /etc/printcap

Then I start samba “/usr/local/sbin/smbd -D” and all is good in the world once again.

Post a Comment

Your email is never published nor shared. Required fields are marked *

Security Code: