Samba: Nameless printer in Net Hood
Hi Gang!
I'm stumped. Samba 2.0.8 on Debian 2.2 (kernel 2.2.17) shows an
extra printer in the Network Neighborhood on the Windows
clients, with an non-printing character as the name, which shows
up as a single little rectangle character in Windows. I suspect
it's a tab, because opening it in Windows gets me the prompt to
install a printer driver for '\\RUTABAGA\ '.
I've searched /etc/printcap and /etc/samba/smb.conf (see below)
for where this comes from ... Oh yeah, and this printer entry
also appears in Swat with an asterisk, which allegedly means it
is defined in printcap and so can't be deleted in Swat. I've
tried cutting all blank lines out of printcap, to no avail.
Spooler is LPRng 3.6.12, in case that makes any difference. Both
of the real printers--one local, one remote--work fine via
Samba.
Any clues? Any links to *searchable* Samba mailing list
archives?
Tony
Printcap:
=====
HPLaserJet6L|raw|HPLJ6L
:lp=/dev/lp0
:sd=/var/spool/lpd/lp
:af=/var/log/print-acct
:lf=/var/log/print-errs
:fx=flp
kyocera|fs1000
:lp=
:rm=10.0.0.51
:rp=L1
:sd=/var/spool/lpd/kyocera
:mx#0
:sh
=======
smb.conf:
=======
[global]
workgroup = OURGANG
netbios name = RUTABAGA
server string = %h (Samba %v on Debian 2.2)
interfaces = eth0 127.0.0.1
bind interfaces only = Yes
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
debug level = 5
max log size = 1000
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096
SO_RCVBUF=4096
printer driver file = /usr/printers/printers.def
os level = 33
dns proxy = No
wins support = Yes
invalid users = root
hosts allow = 10.0.0.
load printers = yes
[homes]
comment = Home Directory
writeable = Yes
create mask = 0700
directory mask = 0700
browseable = No
[printers]
comment = All Printers
path = /var/spool/print
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr -b -r -P%p %s
[PRINTER$]
path = /usr/printers
guest ok = Yes
browseable = No
[kyocera]
comment = Kyocera FS-1000
path = /tmp
guest ok = Yes
printable = Yes
printer = kyocera
printer driver = Kyocera FS-1000
printer driver location = \\%L\PRINTER$
=====
-- Tony Crawford
-- tc@crawfords.de
-- +49-3341-30 99 99
Reply to: