[cups.bugs] [MOD] STR #3985: IPP backend fails to trigger authentication prompts when a username/password is required

Robert Bradley robert.bradley1 at gmail.com
Fri Dec 2 02:46:46 PST 2011


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

[STR New]

When printing from an Ubuntu client running CUPS 1.5 to a server requiring
authentication, no prompting occurs for username and password. 
Originally, the bug was reported at
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/879625, and applied to
connections over TLS.  This looks almost like a duplicate of STR #3933. 
Unlike STR #3933, I have also replicated this behaviour without SSL.

The problem here seems to be with backend/ipp.c.  After the Kerberos
support was added, the auth_info_required variable was left blank by
default.  This is used to generate the "ATTR: auth_info_required=%s" text
that specifies the authentication method needed.  In the case of Kerberos
authentication, this is set to "negotiate", but when non-Kerberos methods
are used, this now remains unset, unlike CUPS 1.4.  The attached patch
restores the "username,password" text that is needed to trigger the
authentication prompt, and works for applications in Ubuntu.  There is no
reason to think that this would not work for RedHat 5.7 too.

Link: http://www.cups.org/str.php?L3985
Version: 1.5.0
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ipp-bug-879625-1.patch
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20111202/9815997b/attachment.ksh>


More information about the cups-devel mailing list