smb printing
Marcel Kunath
kunathma@pilot.msu.edu
Wed, 13 Dec 2000 16:55:32 -0500 (EST)
More printing questions...
Trying to share this printer now with a Win98 box.
Win98 box has user 'nobody' with NOPASSWORD set up. User _can_ see shares. The
user actually sees 'printers' and 'smurf' separately. User can also install
both printers locally on the machine as network printers. (Would prefer it if
one share was vanishing. =)
/etc/smb.conf looks like this but jobs aren't being printed instead go to never
neverland.
/var/log/log.smb:::
[2000/12/13 16:50:16, 1] smbd/service.c:make_connection(550)
lab2 (192.168.1.3) connect to service printers as user nobody (uid=65534,
gid=65534) (pid 6947)
[2000/12/13 16:51:14, 1] smbd/service.c:make_connection(550)
lab2 (192.168.1.3) connect to service smurf as user nobody (uid=65534,
gid=65534) (pid 6947)
[2000/12/13 16:53:04, 1] smbd/service.c:close_cnum(583)
lab2 (192.168.1.3) closed connection to service printers
[2000/12/13 16:53:53, 1] smbd/service.c:make_connection(550)
lab2 (192.168.1.3) connect to service printers as user nobody (uid=65534,
gid=65534) (pid 6947)
[2000/12/13 16:55:04, 1] smbd/service.c:close_cnum(583)
lab2 (192.168.1.3) closed connection to service smurf
[2000/12/13 16:57:04, 1] smbd/service.c:close_cnum(583)
lab2 (192.168.1.3) closed connection to service printers
smb.conf:::
[global]
workgroup = WORKGROUP
guest account = nobody
keep alive = 30
os level = 2
kernel oplocks = false
security = user
print ok = yes
printing = lprng
printable = yes
printcap file = /etc/printcap
encrypt passwords = yes
[printers]
; path = /var/spool/lpd/samba
# --- do not use the Samba default path = /tmp
load printers = yes
# may be reason why smurf shows separate as well
guest ok = yes
print command = /usr/bin/lpr -U%U@%M -P%p -r %s
lpq command = /usr/bin/lpq -U%U@%M -P%p
lprm command = /usr/bin/lprm -U%U@%M -P%p %j
lppause command = /usr/sbin/lpc -U%U@%M hold %p %j
lpresume command = /usr/sbin/lpc -U%U@%M release %p %j
queuepause command = /usr/sbin/lpc -U%U@%M -P%p stop
queueresume command = /usr/sbin/lpc -U%U@%M -P%p start
'smbpasswd' gives odd error:
bash-2.04# smbpasswd
Unknown parameter encountered: "printcap file"
Ignoring unknown parameter "printcap file"
Help again appreciated,
mk