Guest mskraut Posted December 4, 2004 Report Share Posted December 4, 2004 (edited) Is anybody else having problems printing to a Windows-connected printer via Samba (2 or 3) under mdk10.1 Official? I've googled the hell out of this and just can't find what I'm looking for, and the CUPS documentation is mostly written from for those trying to share out the printer connected directly to their Linux box (it seems). The problem: ============ Can set up printer (via every method I could find, ie Mandrake tools, KDE tools, http://localhost:631), but when I send the test page nothing comes out. The relevant info: ================== Dell Inspiron 600m Laptop w/512M RAM Samba 3.0.7 (tried dropping back to Samba 2 with the same results) kernel 2.6.8.1-12mdk CUPS 1.1.21 Things that me it's not Window's fault (damn!): ==============================+================ I can print fine from another box loaded with Fedora Core 2 and similar software versions Things that tell me it's not Samba's fault: =========================================== I can log into the W2K machine using smbclient like this: smbclient //adele/hp9650 -U mark -W clowderhill (password entered at prompt) and I can send text to the printer like this (from the 'smb: \>' prompt): print test.txt Observations: ============= The one glaring thing that I see when I sniff my wire via Ethereal is that it's trying to connect to the shared printer as user 'anonymous', even though I tell the various config tools that I want to connect as a regular user on that Win2k box. Here's my /etc/cups/printers.conf file: # Printer configuration file for CUPS v1.1.21rc1 # Written by cupsd on Thu 02 Dec 2004 08:02:12 PM EST <DefaultPrinter hp9650> Info Location DeviceURI smb://mark:mypassword@ADELE/HP9650 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> I've also tried configuring the printer for 'guest' access, in which case the DeviceURI looks like smb://guest:@ADELE/HP9650. Here's some output from Ethereal for both the working setup on FC2, and the MDK10.1 setup Working setup: ============== 192.168.0.5 192.168.0.6 SMB Negotiate Protocol Request 192.168.0.6 192.168.0.5 SMB Negotiate Protocol Response 192.168.0.5 192.168.0.6 SMB Session Setup AndX Request, NTLMSSP_NEGOTIATE 192.168.0.6 192.168.0.5 SMB Session Setup AndX Response, NTLMSSP_CHALLENGE, NTLMSSP_CHALLENGE, Error: STATUS_MORE_PROCESSING_REQUIRED 192.168.0.5 192.168.0.6 SMB Session Setup AndX Request, NTLMSSP_AUTH 192.168.0.6 192.168.0.5 SMB Session Setup AndX Response 192.168.0.5 192.168.0.6 SMB Tree Connect AndX Request, Path: \\ADELE\HP9650 192.168.0.6 192.168.0.5 SMB Tree Connect AndX Response 192.168.0.5 192.168.0.6 SMB Open AndX Request, Path: Test Page Non-Working setup: =================== 192.168.0.8 191.168.0.6 SMB Session Setup AndX Request, User: anonymous 192.168.0.6 192.168.0.8 SMB Session Setup AndX Response 192.168.0.8 192.168.0.6 SMB Tree Connect AndX Request, Path: \\ADELE\HP9650 192.168.0.6 192.168.0.8 SMB Tree Connect AndX Response, Error: STATUS_ACCESS_DENIED That 'anonymous' thing really has me stumped - any ideas? Thanks, Mark Krautheim Orwell, Vermont Edited December 7, 2004 by mskraut Quote Link to comment Share on other sites More sharing options...
Guest mskraut Posted December 7, 2004 Report Share Posted December 7, 2004 Found the answer here (after reading other, similar posts): http://qa.mandrakesoft.com/show_bug.cgi?id=12272 In a nutshell, I changed the URI to fit the new CUPS format, ie smb://workgroup/username:password@server/printershare (correct) instead of smb://username@server/workgroup/server/printershare (incorrect) Quote Link to comment Share on other sites More sharing options...
gabbman Posted December 7, 2004 Report Share Posted December 7, 2004 Found the answer here (after reading other, similar posts): http://qa.mandrakesoft.com/show_bug.cgi?id=12272 In a nutshell, I changed the URI to fit the new CUPS format, ie smb://workgroup/username:password@server/printershare (correct) instead of smb://username@server/workgroup/server/printershare (incorrect) <{POST_SNAPBACK}> Where did you do that? Edit a file, or in mcc? I have the same problem. Quote Link to comment Share on other sites More sharing options...
Guest mskraut Posted December 7, 2004 Report Share Posted December 7, 2004 I tried it two ways: CUPS via http://localhost:631 and MCC; in CUPS you enter it manually; when using MCC you have to edit /etc/cups/printers.conf after you exit. The CUPS-configured printer only allowed me to print at 300 dpi in color; the MCC way gave me more options and better output - YMMV. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.