[cups.development] [RFE] STR #3862: libcups asks for password when its not needed

Anton Lundin glance+cups at acc.umu.se
Tue Jun 14 08:17:07 PDT 2011


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

[STR New]

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.

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





More information about the cups mailing list