Strange problem with Windows XP Home/Pro Clients and Fedora based Samba w/cups server. ----- Executive summary: I can make the printer print if I, in order: Install the printer driver in windows Delete the printer driver in windows so a smbstatus kill the session Install the printer driver in windows again. Then everything works. This is not just one client, its several. I assume its a permission issue so I have tried setting permissions to 777, and force user = root, guest account = root, to no avail. I'm hoping some pro's here will have some time to take a peek at this one. I've checked google, google groups, samba.org faq's and dox, and searched the mail lists here for quite a bit of time. I just can't seam to get past it. ----- The details: The first time I install the printer driver in windows, i'm given the warning: You are about to connect to a printer on printx0r, which will automatically install a print driver on your machine. Printer drivers may contain virsus or scripts that can be harmful to your computer. It is important to be certain that the computer sharing this printer is trustworthy. Would you like to continue? I select Yes, and it pulls up the printer display menu. If I try and do a printer properties from there, I get the error "Function address 0x6062e728 caused a protection fault. (exception code 0xc0000005) Some or all propery page(s) may not be displayed." (This is the same error and printer that Jason Corekin was trying to get working http://marc.theaimsgroup.com/?l=samba&m=102835570503943&w=2 , to which Gerald Carter suggestioned trying default devmode = yes, which, unfortunetly did not work.) Then I can display nothing. However, if i delete the driver and kill any connections to the PC that just gave this error, and reinstall the driver The warning message does not appear, and the error does not come up. Printing works just fine. If it was just me I'd live with it, but this is for a couple dozen people. My configuration: ----- OS - Fedora Core 1 Kernel - Linux 2.4.22-1.2115.nptl Samba - (default rpm) 3.0.0-15 Cups - (defualt rpm) 1.1.19-13 Printer - HP CP1700 (connected to USB) ----- smb.conf [global] workgroup = shiney server string = %h server (Samba %v) load printers = yes printing = cups printcap name = cups map to guest = Bad User hosts allow = ALL null passwords = yes username map = /etc/samba/smbusers smb passwd file = /etc/samba/smbpasswd [printers] comment = All Printers path = /var/spool/samba browseable = no public = yes guest ok = yes writable = yes printable = yes printer admin = root use client driver = yes [print$] comment = Printer Drivers path = /etc/samba/drivers admin users = root guest ok = yes read only = yes write list = root ----- I played around with doing guest only, and forcing users, to no avail. ----- testparm reports no errors. ----- permissions on /var/spool/samba nobody:nobody(0777) permissions on /var/cache/samba nobody:nobody(0755) permissions on /etc/samba/drivers root:root(0777) -R ----- cat /etc/samba/smbpasswd root:0:F6E25(etc) nobody:0:NO PASSWORDXXX(etc) ----- cat /etc/samba/smbusers root = administrator admin nobody = guest pcguest smbguest ----- rpcclient -Uroot%secret -c 'enumprinters' printx0r flags:[0x800000] name:[\\printx0r\HPColor1700] description:[\\printx0r\HPColor1700,HP Color Inkjet CP1700,General Purpose Printing] comment:[General Purpose Printing] ----- rpcclient -Uroot%secret -c 'enumdrivers' printx0r [Windows NT x86] Printer Driver Info 1: Driver Name: [HP Color Inkjet CP1700] [Windows NT x86] Printer Driver Info 1: Driver Name: [HP Color Inkjet CP1700] ----- not sure why this is listed twice. ----- rpcclient -Uroot%secret -c 'getdriver HPColor1700' printx0r [Windows NT x86] Printer Driver Info 3: Version: [3] Driver Name: [HP Color Inkjet CP1700] Architecture: [Windows NT x86] Driver Path: [\\printx0r\print$\W32X86\3\hpwa2ku0.dll] Datafile: [\\printx0r\print$\W32X86\3\hpwa1700.dat] Configfile: [\\printx0r\print$\W32X86\3\hpwantp0.dll] Helpfile: [\\printx0r\print$\W32X86\3\hpwauih0.hlp] Dependentfiles: [\\printx0r\print$\W32X86\3\hpwacfg0.exe] Dependentfiles: [\\printx0r\print$\W32X86\3\hpwaren2.dll] Dependentfiles: [\\printx0r\print$\W32X86\3\hpwaren1.exe] Dependentfiles: [\\printx0r\print$\W32X86\3\hpwasvb0.dll] Dependentfiles: [\\printx0r\print$\W32X86\3\hpwavip0.dll] Dependentfiles: [\\printx0r\print$\W32X86\3\hpwares0.dll] Dependentfiles: [\\printx0r\print$\W32X86\3\hpwapre0.exe] Dependentfiles: [\\printx0r\print$\W32X86\3\hpwajui0.dll] Dependentfiles: [\\printx0r\print$\W32X86\3\hpwaime0.dll] Dependentfiles: [\\printx0r\print$\W32X86\3\hpwaflt0.dll] Dependentfiles: [\\printx0r\print$\W32X86\3\hpwaeng0.exe] Dependentfiles: [\\printx0r\print$\W32X86\3\hpwarpp0.dll] Monitorname: [] Defaultdatatype: [] ----- I should note, that I had to do a rpcclient -Uroot%secret -c 'setdriver HPColor1700 "HP Color Inkjet CP1700"' printx0r because the windows install of the drivers didn't complete. ----- smbd.log [2004/02/09 03:29:19, 0] smbd/server.c:main(747) smbd version 3.0.0-15 started. Copyright Andrew Tridgell and the Samba Team 1992-2003 [2004/02/09 03:29:32, 0] lib/util_sock.c:get_socket_addr(919) getpeername failed. Error was Transport endpoint is not connected [2004/02/09 03:29:32, 0] lib/util_sock.c:read_socket_data(342) read_socket_data: recv failure for 4. Error = Connection reset by peer [2004/02/09 03:29:37, 0] lib/util_sock.c:get_socket_addr(919) getpeername failed. Error was Transport endpoint is not connected [2004/02/09 03:29:37, 0] lib/util_sock.c:read_socket_data(342) read_socket_data: recv failure for 4. Error = Connection reset by peer [2004/02/09 03:29:37, 0] lib/util_str.c:safe_strcpy_fn(577) ERROR: NULL dest in safe_strcpy [2004/02/09 03:29:41, 0] smbd/connection.c:register_message_flags(220) register_message_flags: tdb_fetch failed ----- I've done allot of searching on each of these errors, but can't find anything conclusive ----- The nmbd.log was just the service starting and stopping. ----- I've seen allot of people posting a debug/loglevel 10, which I can do if needed. I'm hoping (and not hoping) its something small or dumb that I did. Thanks in advance. _________________________________________________________________ Find great local high-speed Internet access value at the MSN High-Speed Marketplace. http://click.atdmt.com/AVE/go/onm00200360ave/direct/01/
Gerald (Jerry) Carter
2004-Feb-10 02:55 UTC
[Samba] Fedora, Cups, print$, and Windows XP - Oh my :)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 9 Feb 2004, Jed Tarungo wrote:> "Function address 0x6062e728 caused a protection fault. (exception code > 0xc0000005) Some or all propery page(s) may not be displayed."This was fixed in 3.0.1 IRC. cheers, jerry ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song" --Switchfoot (2003) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFAKEedIR7qMdg1EfYRAn2WAJ93pJuDLDxfzk7B7gaC29NU8fRuSQCfWnh6 6V6Gbi8cy9zpakyqp3Vmv68=Eat/ -----END PGP SIGNATURE-----
> -----Original Message----- > From: Gerald (Jerry) Carter [mailto:jerry@samba.org] > Sent: Monday, February 09, 2004 9:53 PM > To: Jed Tarungo > Cc: samba@lists.samba.org > Subject: Re: [Samba] Fedora, Cups, print$, and Windows XP - Oh my :) > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Mon, 9 Feb 2004, Jed Tarungo wrote: > > > "Function address 0x6062e728 caused a protection fault. > (exception code > > 0xc0000005) Some or all propery page(s) may not be displayed." > > This was fixed in 3.0.1 IRC.I receive this message with 3.0.2 compiled yesterday, although I am working with FreeBSD and Win2k and am trying to open printer properties for a particular printer. I have a debug log if that would be useful. -Will> > > > > cheers, jerry > > ---------------------------------------------------------------------- > Hewlett-Packard -------------------------http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song" --Switchfoot (2003) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFAKEedIR7qMdg1EfYRAn2WAJ93pJuDLDxfzk7B7gaC29NU8fRuSQCfWnh6 6V6Gbi8cy9zpakyqp3Vmv68=Eat/ -----END PGP SIGNATURE----- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Reasonably Related Threads
- Fedora, Cups, print$, and Windows XP - Oh my :) Round 2 - FIGHT
- rpcclient enumdrivers returns 2 listings of installed driver.
- Canon multifunction printers / samba 3.0.2a / AIX 5.2ML2
- Samba Point-and-install driver location problems
- Getting Windows XP drivers from print$