libcups asks for password when its not needed

Bug #797252 reported by glance
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: cups

We have a cups-setup that allows remote printing when authenticated, and accepts local printing from a "trusted" network without authentication.

The Location bock looks like this:

<Location />
  # allow either authorized of remote users
  Satisfy any
  Order deny,allow
  # remote access needs to be authed.
  AuthType Default
  Require valid-user
  # local access is always allowed.
  Allow from 127.0.0.1
  Allow from a.b.c.d/255.255.255.0
  Deny from all
</Location>

When using cmd-line utils, like lpr, lpq, lprm and so on, it doesn't ask for a password, but when using GUI-programs that uses libcups they see the CUPS_PRINTER_AUTHENTICATED-flag on the printer and asks for username/password without needing to.

Revision history for this message
glance (glance-acc) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cups (Ubuntu):
status: New → Confirmed
Revision history for this message
Ryan Lovett (ryan-spacecoaster) wrote :

This affects 12.04.

cupsd running on the client enumerates the Type field with CUPS_PRINTER_AUTHENTICATED (0x400000).

CUPS no longer has a public bug tracker. I found the following (regarding old CUPS bug #3862) at http://comments.gmane.org/gmane.comp.printing.cups.devel/4814:

  [STR Closed w/o Resolution]

  This is being done by the GUI apps, not by CUPS...

  Link: http://www.cups.org/str.php?L3862
  Version: -feature
  Fix Version: Third-party

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Ryan, which GUI tools are you using?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.