Bug 460670 - No Password Prompt for Unprivileged Printer Addition
Summary: No Password Prompt for Unprivileged Printer Addition
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F10Target
TreeView+ depends on / blocked
 
Reported: 2008-08-29 15:53 UTC by Jason Taylor
Modified: 2008-08-30 09:44 UTC (History)
1 user (show)

Fixed In Version: 1.0.7-2.fc10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-08-30 09:44:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jason Taylor 2008-08-29 15:53:26 UTC
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 19:20:21 UTC
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 19:54:56 UTC
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 09:44:49 UTC
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.