Peter Carpenter
2003-Mar-14 11:45 UTC
[Samba] Win95 & Win98 - NOT WORKING - NT,2000, XP are ok (re posted)
Did you change your "security" setting in your new Samba e.g. from "share" to "domain"? -----Original Message----- From: peter.a.bryant@mainroads.qld.gov.au [mailto:peter.a.bryant@mainroads.qld.gov.au] Sent: Friday, 14 March, 2003 7:00 AM To: samba@lists.samba.org Cc: John H Terpstra Subject: Re: [Samba] Win95 & Win98 - NOT WORKING - NT,2000, XP are ok (reposted) I tried adding the [printers] section to my conf file as John suggested, but this didn't solve the problem. Still able to print from NT, 2000, XP and not from Win95, 98 just recapping - am able to print from all clients with the old version (2.0.6) which we are still using in production With the new Samba (2.2.7a) the file sharing is fine, but printing only works for NT,2000,XP With Win95 & Win98 only, the file gets put in the spool directory but doesn't seem to get sent from the spool directory to the printer. (or picked up by the printer - however it works...) Any idea if Win95, 98 printing is treated differently to the newer OS's ? thanks for any thoughts. see below for other details... -peter. John H Terpstra <jht@samba.org> on 13/03/2003 03:02:55 PM>On Thu, 13 Mar 2003 peter.a.bryant@mainroads.qld.gov.au wrote: > >Suggest you add a [printers] entry in your smb.conf file. You should NOT >need an entry for the printer itself. My samba-2.2.x prints fine from >Win95/98/Me as well as NT4/2K/XP. > >- John T. > >> Hey, thanks for your efforts anyway. >> >> I don't know what to make of this. >> Obviously a lot of things have changed between Samba 2.0.6 and 2.2.7a, >> but I can't figure out why Win95 & 98 suddenly can't print. >> I think you may be right - something to do with the new Samba using the >> MS-RPCs... >> which I imagine would mean a completely different printing method. >> Do you think this would require a different printer driver on the 95/98boxes??>>From what I read, I had the impression that it should all still work. >> >> I'd like to hear from anyone if they are successfully printing fromWin95,>> Win98 clients >> on a Solaris server and using HP printers. >> >> I'm sure many people must be successfully printing from 95/98, but maybethis>> problem >> is specific to my particular environment ? >> >> I am contemplating your suggestion about the bug message. >> Maybe another day or so of frustration and I will try it. >> >> again - thanks muchly for your help. >> >> -peter. >> >>> >>>Date: Mon, 10 Mar 2003 18:33:35 +0100 >>>From: "maraqas" <maraqas@libero.it> >>> >>>Hi Peter, >>> i had a long, frunstrating web surfing yesterday night, searching for >>>something >>>that could apply to your case. I didn't find much at all, sorry. The only >>>thing >>>perhaps interesting to you could be this: >>>http://us2.samba.org/samba/ftp/docs/htmldocs/printer_driver2.html >>>This doc contains a section about migrating from 2.0.x to 2.2.x >>>I think the problem lyes in the new way samba manages printing, that is >>>by listening the MS-RPCs (Remote Procedure Call) coming from the >>>winNT and win2000 clients. This is done thanks to spoolss, as i figured >>>out reading here and there across the net. Well they say spoolss supports >>>even win9x driver calls, even if those OSes do not actually make an RPC. >>>They also say that backward compat. is reached through "use clientdriver">>>and "spoolss disable". With these options enabled, the samba servershould>>>act just like it was a 2.0.x >>>I think you'd need help from the samba guys themselves, so i advice >>>reposting this problem with a more shocking subject line (suggest to >>>use the keyword BUG :)) so you'll be able to capture their attention. >>> >>>Really sorry not to have been useful to you... >>> >>>cheers >>> >>>Maq >>> >> >> >> >>Sorry to have to repost this (didn't get any response on the firstpost),>> >>we really need some of the fixes of the new Samba but cannot go aheadwithout>> >>the support for the older machines. >> >>Need to prove that Samba is the great product that I believe it is. >> >> >> >>Hi folks - I am having printing problems with our older machines. >> >> >> >>Printing is working fine for our Windows NT, 2000 and XP clients. >> >>However, with windows 95 & 98, the print job gets put into the Samba >> >>spool directory (path = /var/spool/lp/tmp/samba) but doesn't make itto the>> >>printer. >> >>The print files stay there in the directory - don't get removed. >> >> >> >>Samba version is 2.2.7a, on Solaris 8 >> >>Printers are HP printers - e.g. HP 8100dn >> >> >> >>All clients including 95/98 were happily printing on a very much olderversion>> >> of Samba (2.0.6) >> >> >> >>printing directly from Unix to the printer is working ok >> >> >> >>Has anyone experienced this problem or have any advice on how to >> >>get my older boxes printing with the latest Samba? >> >> >> >>any thoughts welcome - no really - anything - please.... >> >>:-) >> >> >> >>-peter. >> >> >> >> >> >>(p.s. Just for a wild stab in the dark I tried setting the "disablespoolss>> >> yes" >> >>but this stopped all printing from making it to the computer - evenfrom the>> >>clients that >> >>were originally working.) >> >> >> >> >> >>relevant bits of conf. file included below... >> >>note that I don't have print command explicitly stated, but testparm >> >>indicates that it is configured properly... >> >> >> >>[global] >> >> printing = sysv >> >> >> lprm command = /usr/bin/cancel %p-%j >> >> lppause command = lp -i %p-%j -H hold >> >> lpresume command = lp -i %p-%j -H resume >> >> load printers = no >> >> >> >>[hp8100DN1] >> >> printer = hp8100dn_1 >> >>comment = HP LaserJet hp8100 DN >> >>path = /var/spool/lp/tmp/samba >> >>guest account = nobody >> >>guest ok = yes >> >>browseable = yes >> >>printable = yes >> >>writable = yes************************************************************ Opinions contained in this e-mail do not necessarily reflect the opinions of the Queensland Department of Main Roads, Queensland Transport or National Transport Secretariat, or endorsed organisations utilising the same infrastructure. If you have received this electronic mail message in error, please immediately notify the sender and delete the message from your computer. ************************************************************ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
peter.a.bryant@mainroads.qld.gov.au
2003-Mar-16 22:31 UTC
[Samba] Win95 & Win98 - NOT WORKING - NT,2000, XP are ok (re posted)
Our setup is peer to peer, rather than a domain setup. So security is set to "server" Generally though, we are using the same conf. file for this new Samba as the one we had (have) in production (on Samba 2.0.6). So I guess what I need to know is what has changed in regards to printing with Win95, 98 from 2.0.6 to 2.2.7a ? thanks -peter. Peter Carpenter <peterc@osm.co.uk> on 14/03/2003 09:45:28 PM Did you change your "security" setting in your new Samba e.g. from "share" to "domain"? -----Original Message----- From: peter.a.bryant@mainroads.qld.gov.au I tried adding the [printers] section to my conf file as John suggested, but this didn't solve the problem. Still able to print from NT, 2000, XP and not from Win95, 98 just recapping - am able to print from all clients with the old version (2.0.6) which we are still using in production With the new Samba (2.2.7a) the file sharing is fine, but printing only works for NT,2000,XP With Win95 & Win98 only, the file gets put in the spool directory but doesn't seem to get sent from the spool directory to the printer. (or picked up by the printer - however it works...) Any idea if Win95, 98 printing is treated differently to the newer OS's ? thanks for any thoughts. see below for other details... -peter.>> >> >> >>Sorry to have to repost this (didn't get any response on the firstpost),>> >>we really need some of the fixes of the new Samba but cannot go aheadwithout>> >>the support for the older machines. >> >>Need to prove that Samba is the great product that I believe it is. >> >> >> >>Hi folks - I am having printing problems with our older machines. >> >> >> >>Printing is working fine for our Windows NT, 2000 and XP clients. >> >>However, with windows 95 & 98, the print job gets put into the Samba >> >>spool directory (path = /var/spool/lp/tmp/samba) but doesn't make itto the>> >>printer. >> >>The print files stay there in the directory - don't get removed. >> >> >> >>Samba version is 2.2.7a, on Solaris 8 >> >>Printers are HP printers - e.g. HP 8100dn >> >> >> >>All clients including 95/98 were happily printing on a very much olderversion>> >> of Samba (2.0.6) >> >> >> >>printing directly from Unix to the printer is working ok >> >> >> >>Has anyone experienced this problem or have any advice on how to >> >>get my older boxes printing with the latest Samba? >> >> >> >>any thoughts welcome - no really - anything - please.... >> >>:-) >> >> >> >>-peter. >> >> >> >> >> >>(p.s. Just for a wild stab in the dark I tried setting the "disablespoolss>> >> yes" >> >>but this stopped all printing from making it to the computer - evenfrom the>> >>clients that >> >>were originally working.) >> >> >> >> >> >>relevant bits of conf. file included below... >> >>note that I don't have print command explicitly stated, but testparm >> >>indicates that it is configured properly... >> >> >> >>[global] >> >> printing = sysv >> >> >> lprm command = /usr/bin/cancel %p-%j >> >> lppause command = lp -i %p-%j -H hold >> >> lpresume command = lp -i %p-%j -H resume >> >> load printers = no >> >> >> >>[hp8100DN1] >> >> printer = hp8100dn_1 >> >>comment = HP LaserJet hp8100 DN >> >>path = /var/spool/lp/tmp/samba >> >>guest account = nobody >> >>guest ok = yes >> >>browseable = yes >> >>printable = yes >> >>writable = yes************************************************************ Opinions contained in this e-mail do not necessarily reflect the opinions of the Queensland Department of Main Roads, Queensland Transport or National Transport Secretariat, or endorsed organisations utilising the same infrastructure. If you have received this electronic mail message in error, please immediately notify the sender and delete the message from your computer. ************************************************************
Peter Carpenter
2003-Mar-17 12:30 UTC
[Samba] Win95 & Win98 - NOT WORKING - NT,2000, XP are ok (re posted)
Peter, I'm not a Samba guru so am not the one to tell you the difference between Samba 2.0 and Samba 2.2. I'm struggling myself to get printing to work from various Windows flavours with Samba 2.2.6 in "server" security mode on various unix flavours. My guess is that your problem is just authentication i.e. the password server is rejecting your old Windows boxes, perhaps because they are sending the password in clear and not encrypted like the modern Windows. If so you can put "map to guest = Bad User" in the [global] section of smb.conf and they will be let in as 'nobody'. This is slack security to be sure - but it works. You then have to check that 'nobody' can print from the spool directory. This can fail because 'nobody' has a weird UID or because there is no read access to one of the directories in the path. PCC -----Original Message----- From: peter.a.bryant@mainroads.qld.gov.au Sent: Sunday, 16 March, 2003 10:32 PM Our setup is peer to peer, rather than a domain setup. So security is set to "server" Generally though, we are using the same conf. file for this new Samba as the one we had (have) in production (on Samba 2.0.6). So I guess what I need to know is what has changed in regards to printing with Win95, 98 from 2.0.6 to 2.2.7a ? thanks -peter. Peter Carpenter <peterc@osm.co.uk> on 14/03/2003 09:45:28 PM Did you change your "security" setting in your new Samba e.g. from "share" to "domain"? -----Original Message----- From: peter.a.bryant@mainroads.qld.gov.au I tried adding the [printers] section to my conf file as John suggested, but this didn't solve the problem. Still able to print from NT, 2000, XP and not from Win95, 98 just recapping - am able to print from all clients with the old version (2.0.6) which we are still using in production With the new Samba (2.2.7a) the file sharing is fine, but printing only works for NT,2000,XP With Win95 & Win98 only, the file gets put in the spool directory but doesn't seem to get sent from the spool directory to the printer. (or picked up by the printer - however it works...) Any idea if Win95, 98 printing is treated differently to the newer OS's ? thanks for any thoughts. see below for other details... -peter.
Apparently Analagous Threads
- Win95 & Win98 - NOT WORKING - NT,2000, XP are ok (reposted)
- Possible Bug?? (was: Win95 & Win98 - NOT WORKING - NT,2000, XP are ok)
- Possible Bug?? (was: Win95 & Win98 - NOT WORKING - NT ,2000, XP are ok)
- Fw: Win95 & Win98 - NOT WORKING - NT,2000, XP are ok (reposted)
- printing - Win95 & Win98 not working - NT,2000, XP are ok.