Bug 460670

Summary: No Password Prompt for Unprivileged Printer Addition
Product: [Fedora] Fedora Reporter: Jason Taylor <jmtaylor90>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jlaska
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 1.0.7-2.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-08-30 09:44:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 438944    

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.