Red Hat Bugzilla – Bug 162405
CAN-2004-2154 <Location ...> directive is case-sensitive in cupsd.conf but should not
Last modified: 2007-11-30 17:07:07 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Description of problem:
The Location directives in cupsd.conf are case sensitive, so if I define an ACL for a print queue named "printer", it is not applied if I print to "Printer" or "prinTer". It is clearly not possible to enter ACLs for all possible cases (for "Printer" it would mean 128 possibilities...).
This issue is documented and has already been fixed in CUPS 1.1.21rc1 (see http://www.cups.org/str.php?L700).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Add an ACL for a printer, for example:
Then print to it by using a different case for the name (e.g. Printer).
Actual Results: You can print circumvent the ACL.
Expected Results: The Location directive must be treated in a case-insensitive way, as print queue names are.
Thank you for reporting this.
Red Hat Enterprise Linux 3: vulnerable
Red Hat Enterprise Linux 4: not affected
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.