REPOST: [Samba] queuepause/queueresume and w2k machines, won' t work

Shane Drinkwater Shane_Drinkwater at pa-ucl.com
Thu Aug 15 07:39:01 GMT 2002


[Shane Drinkwater] 

Daniel,

I have the same probelm. These are the steps I did in a previous thread...

Jim, 

I think I found another bug... I really seem to be in printer hell :(.... I

found that windows 2k doesn't update its status "ready" or "paused" when

used with samba. Here is what I did...

1.) enable all of the lpr/lpd queues. check em' with lpq...

2.) start samba...

3.) goto my win 2k client.

4.) install the printer.( a hp 5m driver that was uploaded to the

samba server from windows)

5.) click on the printer in the "printers" folder on the client.

6.) this is where the fun begins :) login to the samba server and

perform a lpc -P%p stop (lpc -Pcsqlis stop) or use windows to pause the

printer. Check the status on the linux box to really make sure it is paused.

7.) sing the theme song to jeopardy for 10 secs.

8.) click on the printers to make sure windows updates. The printer

still says ready but the "wait time" field is gone...

9.) perform a lpc -Pcsqlis start command. 

10.) check it with lpq

11.) in 10 sec the "wait time" will reappear.. hmmm 

You can do the same thing except start samba with the queue being paused. It

will show paused during the testing. The only thing that goes away and comes

back is the wait time field. Jim have you seem this before??? Has anyone

else ??? Or do I have a retarded computer win2k box???

Shane

I am glade to see some one else is having the same problem... Also watch out
for queues with off in the name,, you 

queue will always show "paused"

                

                Shane

 

 Original Message-----
From: daniel.jarboe at custserv.com [mailto:daniel.jarboe at custserv.com]
Sent: Thursday, August 15, 2002 8:45 AM
To: samba at lists.samba.org
Subject: REPOST: [Samba] queuepause/queueresume and w2k machines, won't work



Haven't heard any responses at all.  Stumped?  Or does it work for you and
just not me?
Please let me know if you can, thanks

-------- Original Message -------- 
Subject: 	queuepause/queueresume and w2k machines, won't work	
Date: 	Fri, 09 Aug 2002 11:56:32 -0400	
From: 	daniel.jarboe at custserv.com <mailto:daniel.jarboe at custserv.com> 	
To: 	samba at lists.samba.org <mailto:samba at lists.samba.org> 	


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 ma

chine.  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



-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list