[cups.bugs] [MOD] STR #3034: Unable to print from Windows Vista to a Queue with authentication

Harald Popke harald.popke at gmx.de
Mon Dec 8 09:34:37 PST 2008


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

I can print from a XP-Client to a queue with username / password
protection. This queue has the following lines in my cupsd.conf:

<Location /printers/WLANDruckstation>
  AuthType Basic
  AuthClass User
  Encryption Never
  Order Deny,Allow
  Allow From All
</Location>

Under Vista (with SP1) i can sucessfully connect to this queue using a
proper login and password. But after i installed a printer driver (i
choosed the ms published color printer) the testpage is not printed. In
the Accesslog showes the following lines up

192.168.0.3 - - [08/Dec/2008:13:01:10 +0100] "POST
/printers/WLANDruckstation HTTP/1.1" 401 0 - -

which means that the access is denied (401).

After that, i used wireshark to trace down the difference between a
printjob from XP and Vista.
It turns out, that vista does not send the credentials which i entered by
the installation. The first IPP-Packages under Vista starts with this:

POST /printers/WLANDruckstation HTTP/1.1
Content-type: application/ipp
User-Agent: Internet Print Provider
Host: a.foo.de:631
Content-Length: 164
Connection: Keep-Alive

#########################################

Under XP it look like this:

POST /printers/WLANDruckstation HTTP/1.1
Content-Type: application/ipp
User-Agent: Internet Print Provider
Host: a.foo.de:631
Content-Length: 164
Connection: Keep-Alive
Cache-Control: no-cache
Authorization: Basic MDAwMDA2NzIzMTM6YXV0bw==

The only different ist the last line. Has anyone a hint for me?
It looks like a bug in vista???

Thanks for any help

Link: http://www.cups.org/str.php?L3034
Version: 1.3.8





More information about the cups-devel mailing list