We upgraded from 2.2.3a to 2.2.4 on a SuSE 7.2 server. We compiled Samba just default. The new version seems to work ok with the exception of printer administration. Printer admins are not able to see the properties of the printers (right click on printer gives on error). Our workstations are W2k SP2. But users that are not printer admin are able to see the properties of a printer, but they are not allowed to change the settings or to upload drivers. I don't think it is important, but we use the latest lprng- version as printserver. * We tried the patch on the file rpc_parse/parse_spoolss.c * We tried the current CVS version * We installed the whole samba from scratch (new tdb-files) All no difference. With a lot of debugging on we can't see what is the problem. Any ideas? Met vriendelijke groet/Regards, Prompt R.J. Baart Marktveldpassage 35c 5261 ED Vught Netherlands Mailto:R.J.Baart@Prompt.NL Http://WWW.Prompt.NL Tel.: +31 73 6567041 Fax.: +31 73 6573513
Edit the smb.conf, place a # at the beginning of the "printer admin" entry, and use swat to restart the samba server. Then your printer admins will probably be able to see the profiles. Works for me most of the time.... I'm not having any fun with 2.2.x printing, with "disable spoolss=no" and Win2k. For about a month and a half now... :-(( JIm> -----Original Message----- > From: Ruud Baart [mailto:R.J.Baart@Prompt.nl] > Sent: Thursday, May 16, 2002 6:48 AM > To: samba@lists.samba.org > Subject: [Samba] printer admin problems with 2.2.4 > > > We upgraded from 2.2.3a to 2.2.4 on a SuSE 7.2 server. We > compiled Samba just > default. The new version seems to work ok with the exception > of printer administration. > > Printer admins are not able to see the properties of the > printers (right click on printer > gives on error). Our workstations are W2k SP2. But users that > are not printer admin > are able to see the properties of a printer, but they are not > allowed to change the > settings or to upload drivers. I don't think it is important, > but we use the latest lprng- > version as printserver. > > * We tried the patch on the file rpc_parse/parse_spoolss.c > * We tried the current CVS version > * We installed the whole samba from scratch (new tdb-files) > All no difference. > > With a lot of debugging on we can't see what is the problem. > > Any ideas? > > Met vriendelijke groet/Regards, > Prompt > R.J. Baart > > Marktveldpassage 35c > 5261 ED Vught > Netherlands > Mailto:R.J.Baart@Prompt.NL > Http://WWW.Prompt.NL > Tel.: +31 73 6567041 > Fax.: +31 73 6573513 > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
>We upgraded from 2.2.3a to 2.2.4 on a SuSE 7.2 server. We compiled Samba just >default. The new version seems to work ok with the exception of printer administration. > >Printer admins are not able to see the properties of the printers (right click on printer >gives on error). Our workstations are W2k SP2. But users that are not printer admin >are able to see the properties of a printer, but they are not allowed to change the >settings or to upload drivers. I don't think it is important, but we use the latest lprng- >version as printserver. > >* We tried the patch on the file rpc_parse/parse_spoolss.c >* We tried the current CVS version >* We installed the whole samba from scratch (new tdb-files) >All no difference. > >With a lot of debugging on we can't see what is the problem. > >Any ideas? > >Met vriendelijke groet/Regards, >Prompt >R.J. BaartHad the same problems here too. It seems that Windows 2K stores a lot of information about the printers in the registry (~=user-profile). Esp. if the printers where connected via local ports and with local drivers before, this seems to be stored in the registry and is not always removed if the printer gets disconnected/removed. Try to find you printer-names in the registry and delete entries around it (...registry, hacking, backup, warning etc.etc.). You may also clean up /winnt/system32/spool/drivers. Perhaps you can just take another W2K client (clean installation) and fire the Server APW from there and use a 'clean' clients to test it. With one Printer (a HP Deskjet 1120 connected via a JetDirect 300x Box, served via 'latest' LPRNG and Samba 2.2.4 using the W2K standard drivers from /winnt/inf/ntprint.inf) I had exactly the same problem that you've described. The printer properties could be edited by a print-admin as long as none of the clients was connected to the samba-queue. It seems to work now after heavy registry-editing, client file-removal, new tdb and latest CVS-Code (but with only two clients connected so far). Please send me your findings, I'm fighting with this problem too and would like to have more information on it. "cheers", Martin
sorry.. still isn't working... i put the # before the printer admin line and restarted the service.. now nobody is printer admin now.. right? Who is going to change the properties of the printers? And even root gets an error when trying to see the properties. any suggestions what to do.. ?? i'll go and try some things.. when i have succes you'll hear it :-) Met vriendelijke groet/Regards, Bennie van Lent mailto:b.van.lent@prompt.nl Prompt Automatisering Marktveldpassage 35c 5261 ED Vught Tel: +31 73 6567041 Fax: +31 73 6573513 Voor problemen of vragen mailto:support@prompt.nl
On Thu, 16 May 2002, Ruud Baart wrote:> We upgraded from 2.2.3a to 2.2.4 on a SuSE 7.2 server. We compiled Samba > just default. The new version seems to work ok with the exception of > printer administration. > > Printer admins are not able to see the properties of the printers (right > click on printer gives on error). Our workstations are W2k SP2. But > users that are not printer admin are able to see the properties of a > printer, but they are not allowed to change the settings or to upload > drivers. I don't think it is important, but we use the latest lprng- > version as printserver. > > * We tried the patch on the file rpc_parse/parse_spoolss.c > * We tried the current CVS version > * We installed the whole samba from scratch (new tdb-files) > All no difference. > > With a lot of debugging on we can't see what is the problem.Please send me a level 10 debug log? This should be ok, but I'll retest later this morning.... 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--
If you have "admin users=", try putting # before that, too and restarting samba I was #'ing all three lines before, (printer admin=, admin users=, write list=" and thought only the "printer admin=" applied. Sorry, Jim> -----Original Message----- > From: Bennie van Lent [mailto:b.van.lent@prompt.nl] > Sent: Thursday, May 16, 2002 1:52 AM > To: vansickj-eodc@Kaman.com; samba@lists.samba.org > Subject: RE: [Samba] printer admin problems with 2.2.4 > > > sorry.. still isn't working... > > i put the # before the printer admin line and restarted the > service.. now nobody > is printer admin now.. right? > Who is going to change the properties of the printers? And > even root gets an > error when trying to see the properties. > > any suggestions what to do.. ?? > > i'll go and try some things.. when i have succes you'll hear it :-) > > Met vriendelijke groet/Regards, > > Bennie van Lent > mailto:b.van.lent@prompt.nl > Prompt Automatisering > Marktveldpassage 35c > 5261 ED Vught > Tel: +31 73 6567041 > Fax: +31 73 6573513 > > > Voor problemen of vragen > mailto:support@prompt.nl > >