You are not logged in.

#1 2011-11-18 14:39:07

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

samba - removing printer support [SOLVED]

Why am I getting entries in my /var/log/samba/smdb.log like this when I have (I thought) disabled printing in my /etc/samba/smb.conf?

$ tail /var/log/samba/smbd.log
[2011/11/18 09:34:38.293887,  0] printing/print_cups.c:110(cups_connect)
  Unable to connect to CUPS server localhost:631 - No such file or directory
[2011/11/18 09:34:38.303681,  0] printing/print_cups.c:487(cups_async_callback)
  failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL

Here is the my config:

$ cat /etc/samba/smb.conf
[global]
workgroup = adirondack
server string = nas
security = user
hosts allow = 192.168.1. 127.
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY
disable spoolss = yes

[media]
comment = shares
writeable = yes
valid users = facade,toad,princess
path = /media/media

EDIT:  Nevermind, just found this which seems to have taken care of the issue.

Last edited by graysky (2011-11-18 14:46:32)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2012-01-29 11:00:18

NotMine
Member
Registered: 2011-10-13
Posts: 19

Re: samba - removing printer support [SOLVED]

I have seen that error also. After some googling around I found the following:

Consider adding this line to "/etc/samba/smb.conf" to change the NETbios name resolution order:

name resolve order = lmhosts wins bcast host

If you do not have a WINS server, remove that label from the line.

Another option is to add "wins" to the "hosts" line in "/etc/nsswitch.conf"

Offline

#3 2013-07-28 03:50:40

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 220

Re: samba - removing printer support [SOLVED]

Offline

Board footer

Powered by FluxBB