Bug 2817 - Samba on Solaris doesn't recognize new printer until restarting
Summary: Samba on Solaris doesn't recognize new printer until restarting
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Printing (show other bugs)
Version: 3.0.10
Hardware: Sparc Solaris
: P3 major
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact: Samba QA Contact
Depends on:
Reported: 2005-06-22 23:29 UTC by Francisco Cano Entrena
Modified: 2005-08-24 10:18 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Cano Entrena 2005-06-22 23:29:20 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.
Comment 1 Gerald (Jerry) Carter (dead mail address) 2005-07-04 09:00:29 UTC
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.
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:18:52 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.