[Samba] queuepause/queueresume and w2k machines, won't work
daniel.jarboe at custserv.com
daniel.jarboe at custserv.com
Sat Aug 10 04:15:18 GMT 2002
RH 7.2 linux, LPRng, and samba 2.2.5-1 rpm, security = domain using
winbind to auth to NT PDC, also connecting to an NT WINS server on a
different subnet. I discovered the reason the queuepause and
queueresume wasn't working when I specified it ("/usr/sbin/lpc stop %p"
and "/usr/sbin/lpc start %p") was because the file was being executed
with the uid/gid of the login id rather than root as I would expect.
Please help.
1. How can samba execute queuepause and queueresume commands as root
without a usermapping of each of the printer admins to root? The
queuepause fails silently otherwise.
2. With the temporary map to root in my smbusers file, the queuepause
executes successfully, but from w2k the Status still shows 'Ready'
instead of 'Paused.' Furthermore, since w2k sees status 'Ready' instead
of 'Paused', the 'Pause' remains on the pop-up menu and there is no way
'Resume' to call... making it impossible to unpause samba shared print
queues from the w2k machine. Is this broken in Samba, or does it have
something to do with my samba interface not supporting broadcast, or
something else entirely?
Please help. Thank you,
~ Daniel
More information about the samba
mailing list