Bug 452873 - system-config-printer does not understand AllowUser/DenyUser directives in printers.conf
system-config-printer does not understand AllowUser/DenyUser directives in pr...
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: system-config-printer (Show other bugs)
All Linux
low Severity low
: rc
: ---
Assigned To: Tim Waugh
Depends On:
  Show dependency treegraph
Reported: 2008-06-25 11:05 EDT by Christoph Szeppek
Modified: 2008-06-27 07:28 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-06-27 07:28:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Christoph Szeppek 2008-06-25 11:05:02 EDT
Description of problem:
cupsd contained in cups-1.1.22-0.rc1.9.20.2.el4_6.6 understands AllowUser and
DenyUser statements in printers.conf file. When adding AllowUser/DenyUser to my
printers.conf file and running system-config-printer afterwards, the
AllowUser/DenyUser statement will be deleted, if system-config-printer rewrites
the printers.conf file.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Add a AllowUser or DenyUser statement to one of your printers in
/etc/cups/printers.conf (either by running "lpadmin -p <printer_name> -u
[allow|deny]:<user>" or manually editing the printers.conf file)
2. run system-config-printer, select a printer, click edit, then ok (nothing
3. Exit system-config-printer with "Save" (in order to write the printers.conf file)
Actual results:
The previously added AllowUser/DenyUser statement cannot be found in the
printers.conf file.

Expected results:
The AllowUser/DenyUser statement remains in the printers.conf file

Additional info:
Comment 1 Tim Waugh 2008-06-27 07:28:32 EDT
This is a design limitation of printconf 0.6.x.  It is not possible to make
changes to printconf-managed printers by any other tool than printconf.

This restriction is not present in Red Hat Enterprise Linux 5 due to the
printing configuration tool having an entirely new architecture.

Note You need to log in before you can comment on or make changes to this bug.