Bug 2817 - Samba on Solaris doesn't recognize new printer until restarting
Samba on Solaris doesn't recognize new printer until restarting
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Printing
3.0.10
Sparc Solaris
: P3 major
: none
Assigned To: Gerald (Jerry) Carter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-22 23:29 UTC by Francisco Cano Entrena
Modified: 2005-08-24 10:18 UTC (History)
0 users

See Also:


Attachments

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
Hello!

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:

[global]
        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

[printers]
        comment = All Printers
        path = /var/spool/lp/samba
        create mask = 0700
        printable = Yes
        browseable = No

Please, help me with this problem.
TIA.
Comment 1 Gerald (Jerry) Carter 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 2005-08-24 10:18:52 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.