Bug 460670 - No Password Prompt for Unprivileged Printer Addition
No Password Prompt for Unprivileged Printer Addition
Product: Fedora
Classification: Fedora
Component: system-config-printer (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Fedora Extras Quality Assurance
Depends On:
Blocks: F10Target
  Show dependency treegraph
Reported: 2008-08-29 11:53 EDT by Jason Taylor
Modified: 2008-08-30 05:44 EDT (History)
1 user (show)

See Also:
Fixed In Version: 1.0.7-2.fc10
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-08-30 05:44:49 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 Jason Taylor 2008-08-29 11:53:26 EDT
Description of problem: When logged in as a normal user and attempting to add a printer, it fails.

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

How reproducible: In current rawhide, try to install a printer as a normal user.

Steps to Reproduce:
1. System -> Administration -> Printing
2. Add a printer
3. Click Apply to confirm the addition
Actual results: Error window displays, which reads "There was an error during the CUPS operation: 'client-error-forbidden'.

Expected results: Prompt for root password and successful addition of a new printer.

Additional info: I logged in as root and installed the printer using the same steps and it install fine. So it looks like where it is supposed to prompt for root password it isn't. CUPS system logs printed "CUPS-Add-Modify-Printer: Unauthorized" and "CUPS-Add-Modify-Printer: Forbidden"
Comment 1 Tim Waugh 2008-08-29 15:20:21 EDT
1.0.6-1.fc10?  Really?  This should be fixed in 1.0.6.  It is caused by a change in behaviour for CUPS when the authenticated user is not permitted to carry out the operation, but the corresponding change has already gone in to system-config-printer-1.0.6-1.fc10.
Comment 2 Jason Taylor 2008-08-29 15:54:56 EDT
Correct, rpm -qa shows system-config-printer-libs-1.0.6-1.fc10.i386 and system-config-printer-1.0.6-1.fc10.i386.
Comment 3 Tim Waugh 2008-08-30 05:44:49 EDT
Ah, the fix that was already in was to handle HTTP_FORBIDDEN in an HTTP response.  *This* error is that it wasn't handling IPP_FORBIDDEN in an IPP response.

Fixed in 1.0.7-2.fc10.  Thanks for the report.

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