Printing to Win2k printer via ipp: SendError() 15 code=401 (Unauthorized)

Jana9803356 at unet.univie.ac.at Jana9803356 at unet.univie.ac.at
Wed Nov 10 01:44:17 PST 2004


Hello everybody,

is there anybody out there who can give me an advice, how to configure my CUPS that it is able to talk to a Win2k Server? I am fiddling with this problem for _three_ weeks now and I am still not able to print. Got it to work 2 1/2 weeks ago, but had my final exams in the meantime and forgot the correct settings. Right now I want to print via ipp://user:password@host/printers/share/.printer from a Fedora 2 Box to a Win2k Print Server (special issues arrising from the fact that the Linux box is within a DMZ, so I cannot ping the Win2k machine, but I can see the printers via the IIS service in my Linux Web Browser). Any idea so far if this  is the correct way to do this? The error_log of CUPS shows the following:

-----------------------8<-----------------------------------------
D [09/Nov/2004:16:36:27 +0100] ReadClient() 6 POST / HTTP/1.1
D [09/Nov/2004:16:36:27 +0100] ProcessIPPRequest: 6 status_code=1
D [09/Nov/2004:16:36:27 +0100] ReadClient() 14 POST / HTTP/1.1
D [09/Nov/2004:16:36:27 +0100] ProcessIPPRequest: 14 status_code=1
D [09/Nov/2004:16:36:27 +0100] CloseClient() 13
D [09/Nov/2004:16:36:27 +0100] AcceptClient() 13 from localhost:631.
D [09/Nov/2004:16:36:27 +0100] CloseClient() 6
D [09/Nov/2004:16:36:27 +0100] AcceptClient() 6 from localhost:631.
D [09/Nov/2004:16:36:27 +0100] CloseClient() 14
D [09/Nov/2004:16:36:27 +0100] ReadClient() 13 POST / HTTP/1.1
D [09/Nov/2004:16:36:27 +0100] SendError() 13 code=401 (Unauthorized)
D [09/Nov/2004:16:36:27 +0100] CloseClient() 13
D [09/Nov/2004:16:36:27 +0100] AcceptClient() 13 from localhost:631.
D [09/Nov/2004:16:36:27 +0100] ReadClient() 6 POST / HTTP/1.1
D [09/Nov/2004:16:36:27 +0100] SendError() 6 code=401 (Unauthorized)
D [09/Nov/2004:16:36:27 +0100] CloseClient() 6
D [09/Nov/2004:16:36:27 +0100] AcceptClient() 6 from localhost:631.
D [09/Nov/2004:16:36:27 +0100] ReadClient() 13 POST / HTTP/1.1
D [09/Nov/2004:16:36:27 +0100] ProcessIPPRequest: 13 status_code=1
D [09/Nov/2004:16:36:27 +0100] ReadClient() 6 POST / HTTP/1.1
D [09/Nov/2004:16:36:27 +0100] ProcessIPPRequest: 6 status_code=1
D [09/Nov/2004:16:36:27 +0100] AcceptClient() 14 from localhost:631.
D [09/Nov/2004:16:36:27 +0100] CloseClient() 13
D [09/Nov/2004:16:36:27 +0100] AcceptClient() 13 from localhost:631.
D [09/Nov/2004:16:36:27 +0100] CloseClient() 6
D [09/Nov/2004:16:36:27 +0100] ReadClient() 14 POST / HTTP/1.1
D [09/Nov/2004:16:36:27 +0100] SendError() 14 code=401 (Unauthorized)
-------------------------------8<-------------------------------------
Is this (Unauthorized) connected with the authorization process of Windows? I thought, I could get it to work with the above server declaration. Am I missing something essential here? Do I only need the http connection to the desired Win2k machine to print, or do I have to tunnel (through ssh) certain ports like 137-139 (NetBIOS) or 9100, as well? (As you can see I already tried another solution by printing by way of samba through an ssh tunnel to the desired Win2k box, but to no avail, there are way to many ports which I do not seem to know of (tunneled 137,138,139,631 and 9100)).

Thanks in advance (I am really stuck here)

Jan




More information about the cups mailing list