Shane Drinkwater
2002-Aug-15 07:39 UTC
REPOST: [Samba] queuepause/queueresume and w2k machines, won' t work
[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@custserv.com [mailto:daniel.jarboe@custserv.com] Sent: Thursday, August 15, 2002 8:45 AM To: samba@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@custserv.com <mailto:daniel.jarboe@custserv.com> To: samba@lists.samba.org <mailto:samba@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
Trevor Fraser
2002-Aug-15 09:43 UTC
REPOST: [Samba] queuepause/queueresume and w2k machines, won't work
Is this true... ... Also watch out for queues with off in the name,, your queue will always show "paused" Myne is OfficeJet_K80 won't this work? Please don't take this the wrong way, but how come you're the first to mention it? Cheers, Trevor. -------------- next part -------------- HTML attachment scrubbed and removed
Shane Drinkwater
2002-Aug-15 10:33 UTC
REPOST: [Samba] queuepause/queueresume and w2k machines, won' t work
Trevor, Are you using LPRng or CUPS??? All of my testing so far has been with LPRng/ LINUX RED-HAT Vers 6.2, 7.0, 7.1, 7.2, 7.3 and I have also complied my own version of LPRng. I am also not the first person to find this problem. Check the Thread, SANTOS Alexandre Moutinho [alexandre.santos@contacto.sonae.pt] also has had problems( LPRng buffer scrapping problems..).... Shane -----Original Message----- From: Trevor Fraser [mailto:trevor@systematic.co.za] Sent: Thursday, August 15, 2002 1:50 PM To: Shane Drinkwater; daniel.jarboe@custserv.com; samba@lists.samba.org Subject: Re: REPOST: [Samba] queuepause/queueresume and w2k machines, won't work Is this true... ... Also watch out for queues with off in the name,, your queue will always show "paused" Myne is OfficeJet_K80 won't this work? Please don't take this the wrong way, but how come you're the first to mention it? Cheers, Trevor. -------------- next part -------------- HTML attachment scrubbed and removed
Shane Drinkwater
2002-Aug-15 10:43 UTC
REPOST: [Samba] queuepause/queueresume and w2k machines, won' t work
Trevor, Opps. I forgot to give you the thread --> RE: [Samba] my printers are still paused in Win2k and WinNT 4.0. Jim Van Sickler and I work on this problem for awhile. I was a tough to find...If you have this working with a queue with off in the name and are using LPRng please let me know!!!! I am in need of a solution. I also forgot I tried samba-2.2.6 Pre 1. No dice still broke... Shane -----Original Message----- From: Trevor Fraser [mailto:trevor@systematic.co.za] Sent: Thursday, August 15, 2002 1:50 PM To: Shane Drinkwater; daniel.jarboe@custserv.com; samba@lists.samba.org Subject: Re: REPOST: [Samba] queuepause/queueresume and w2k machines, won't work Is this true... ... Also watch out for queues with off in the name,, your queue will always show "paused" Myne is OfficeJet_K80 won't this work? Please don't take this the wrong way, but how come you're the first to mention it? Cheers, Trevor. -------------- next part -------------- HTML attachment scrubbed and removed
Gerald (Jerry) Carter
2002-Aug-15 12:21 UTC
REPOST: [Samba] queuepause/queueresume and w2k machines, won' t work
On Thu, 15 Aug 2002, Shane Drinkwater wrote:> 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...The printer change notification stuff is slightly broken in 2.2.x Things have been corrected in HEAD, but I am not planning on backporting the changes to the 2.2.x branch because the modifications would be farily invasive. This could very easily be the source of your problems. cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
Shane Drinkwater
2002-Aug-15 12:37 UTC
REPOST: [Samba] queuepause/queueresume and w2k machines, won' t work
Jerry, Thank You for info!!!! Shane -----Original Message----- From: Gerald (Jerry) Carter [mailto:jerry@samba.org] Sent: Thursday, August 15, 2002 4:20 PM To: Shane Drinkwater Cc: daniel.jarboe@custserv.com; samba@lists.samba.org Subject: RE: REPOST: [Samba] queuepause/queueresume and w2k machines, won' t work On Thu, 15 Aug 2002, Shane Drinkwater wrote:> 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...The printer change notification stuff is slightly broken in 2.2.x Things have been corrected in HEAD, but I am not planning on backporting the changes to the 2.2.x branch because the modifications would be farily invasive. This could very easily be the source of your problems. cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--