[Samba] samba printing problems

Lois Bennett lois.bennett at channing.harvard.edu
Mon Jan 12 23:30:33 GMT 2009


After struggling with this for a couple of days it's time to ask for help.
We have two samba servers one is on Solaris 8 running Version 2.2.8a
and one on Solaris 10 running Version 3.0.28

I am having a problem with samba printing from the Solaris 10 samba
server.  I can print from the machine itself using lpr directly.  I
can print from a windows machine using lpr printing to that server but
I can't get it to print using samba printing.  The files seem to just
disappear.  There is nothing queued.

This is the top of my smb.conf

debug level = 3
#syslog = 10
#debug level = 1
syslog = 0
workgroup = PHS_WRKSTN
comment = Channing Epi SMB Server
printing = bsd
printcap name = /etc/printcap.smb
load printers = yes
#log file = /var/samba/log/log.%m
log file = /var/samba/log/%U.%m.log
max log size = 100000
preserve case = yes
short preserve case = yes
lock directory = /var/samba/locks
locking = yes
share modes = yes
wins server = <removed for security>
username map = /etc/sfw/smb.map
hosts allow = ALL
dead time = 0
wide links = no
follow symlinks = no
#smb passwd file = /var/samba/private/smbpasswd
smb passwd file = /usr/local/smb/smbpasswd
#update encrypted = yes  #for this to work  'encrypt passwords = no'
encrypt passwords = yes
time server = yes
#null passwords = yes
mangling method = hash2
hide dot files = yes
#os level = 33

hosts allow = 13.174.18.,17.23.139.,10.,155.52.,,10.240.5
hosts deny = ALL
path = /tmp

comment = Channing Lab Printers
path = /var/samba/spool
browseable = no
printable = yes
guest ok = no
writable = no
create mask = 0700
many pages worth of disk shares...

Am I missing something obvious.  I don't know too much about samba or
Windows.    I tried this:

root #  /ilocal/bin/smbclient //sambahost/glsr1 -U salbb

Domain=[NFSSRV2] OS=[Unix] Server=[Samba 3.0.28]
smb: \> lcd /udd/salbb
smb: \> print .login
putting file .login as .login (10.4 kb/s) (average 10.4 kb/s)
smb: \> queue
smb: \> exit

I have stopped the smbd completely and restarted it.

Any suggestions will be very welcome. Thanks.


Lois Bennett, MSEE
Senior System Administrator
Channing Laboratory
Brigham & Women's Hospital
A Teaching Affiliate of
Harvard Medical School and
Harvard School of Public Health

More information about the samba mailing list