The Samba-Bugzilla – Bug 2817
Samba on Solaris doesn't recognize new printer until restarting
Last modified: 2005-08-24 10:18:52 UTC
We have a Solaris server (SunOs 5.8) with Samba 3.0.10.
When I add a printer to the system, Samba doesn't recognize until I restart
it. The relevant lines of my smb.conf are:
workgroup = ADMINISTRACION
netbios name = HATOR
server string = Servidor de Administracion (Samba %v)
interfaces = ce1
bind interfaces only = Yes
printcap name = lpstat
print command = /usr/bin/lp -c -d %p %s; rm %s
lpq command = /usr/bin/lpstat -o %p
lprm command = /usr/bin/cancel %j %p
lppause command = /usr/bin/lp -i %p-%j -H hold
lpresume command = /usr/bin/lp -i %p-%j -H resume
queuepause command = /usr/bin/disable %p
printing = sysv
comment = All Printers
path = /var/spool/lp/samba
create mask = 0700
printable = Yes
browseable = No
Please, help me with this problem.
You can manually force a reload by send a HUP signal
to smbd. Or you can explore the 'printcap cache time'
option in never Samba releases.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.