I have recently upgraded my workstation to Mandrake 7.0 via a clean
wipe-install. I also have a Win98 box, a spare linux workstation and
a linux samba server, both running Mandrake 6.1, on my home network.
The 7.0 box has samba v2.0.6 while the other two have 2.0.5a.
The previous version of linux was red hat 6.0 and it printed great to
the Panasonic KX-P4450i laser printer I had on my server. This was a breeze
to setup with samba and printtool. Well, now with the new version of linux
on my workstation it won't print. The spare linux machine and the Win98 box
still have no problems printing to the laser printer. All other samba
functions work fine and when I boot to Win95 on my workstation, windows prints
fine. I am again trying to setup the printer with Printtool. The spare also
has a local printer (HP 500 clone) hooked up to it. My workstation cannot
print to either printer.
All this makes me think I have done something stupid with the samba setup on
my workstation.
Any ideas?
My printcap file from my workstation:
##PRINTTOOL3## SMB laserjet 300x300 letter {} LaserJet Default {}
lp0:\
:sd=/var/spool/lpd/lp0:\
:mx#0:\
:sh:\
:if=/var/spool/lpd/lp0/filter:\
:af=/var/spool/lpd/lp0/acct:\
:lp=/dev/null:
My printcap file from the spare (which works! :):
##PRINTTOOL3## LOCAL djet500 300x300 letter {} DeskJet500Mono Default 1
lp:\
:sd=/var/spool/lpd/lp:\
:mx#0:\
:sh:\
:lp=/dev/lp0:\
:if=/var/spool/lpd/lp/filter:
##PRINTTOOL3## SMB laserjet 300x300 letter {} LaserJet Default {}
lp0:\
:sd=/var/spool/lpd/lp0:\
:mx#0:\
:sh:\
:if=/var/spool/lpd/lp0/filter:\
:af=/var/spool/lpd/lp0/acct:\
:lp=/dev/null:
The content of my workstation's smb.conf.
# from localhost.localdomain (127.0.0.1)
# Date: 2000/02/22 09:37:28
# Global parameters
[global]
netbios name = CTHULHU
server string = John's Workstation
log file = /var/log/samba/log.%m
workgroup= Workgroup
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
unix password sync = no
null passwords = no
domain master = no
wins support = no
debug level = 0
load printers = no
security = user
password level = 3
encrypt passwords = no
smb passwd file = /etc/smbpasswd
local master = no
os level = 2
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
guest ok = Yes
print ok = Yes
browseable = yes
The smb.conf from my spare workstation that CAN print to the laser printer.
#======================= Global Settings =====================================
[global]
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = Workgroup
netbios name = YOGSOTHOTH
# server string is the equivalent of the NT Description field
server string = Yoggie %v
log file = /var/log/samba/log.%m
password level = 3
encrypt passwords = no
smb passwd file = /etc/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
os level = 2
preferred master = no
dns proxy = no
unix password sync = no
null passwords = no
domain master = no
wins support = no
dead time = 0
debug level = 0
load printers = no
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
path = %H
valid users = %S
read only = No
create mask = 0600
directory mask = 0700
browseable = yes
locking = no
writable = yes
[printer1]
comment = Panasonic HP 500 Clone
path = /tmp
browseable = yes
printer = lp
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes
[netlogon]
The smb.conf from my file/print server (has laser printer attached)
#======================= Global Settings =====================================
[global]
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = Workgroup
netbios name = HASTUR
server string = Samba Server %v
log file = /var/log/samba/log.%m
password level = 3
encrypt passwords = no
smb passwd file = /etc/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
os level = 33
preferred master = yes
dns proxy = no
[homes]
comment = Home Directories
path = %H
valid users = %S
read only = No
create mask = 0600
directory mask = 0700
browseable = yes
locking = no
writable = yes
[printer1]
comment = Panasonic KX-P4450i
path = /tmp
browseable = yes
printer = lp
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes
Thanks!
--
John Midtgard, from the back woods of High Springs, Florida.
"If you define cowardice as running away at the first sign of danger,
screaming and tripping and begging for mercy, then yes, Mr. Brave
man, I guess I'm a coward" -- Rimmer from Red Dwarf