Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63380 - CUPS - Can't delete jobs without authenticating first
Summary: CUPS - Can't delete jobs without authenticating first
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Printing Team
URL: http://bostoncoop.net/adam/weblog?rig...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-08 19:45 UTC by Greg
Modified: 2005-08-03 11:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild with new use flag (cups-1.1.21_rc2-r1.ebuild,3.61 KB, text/plain)
2004-09-08 19:48 UTC, Greg
Details
This patch is turned on by the new use flag. (cups_patch_1.1.20,650 bytes, patch)
2004-09-08 19:49 UTC, Greg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Greg 2004-09-08 19:45:21 UTC
The above URL explains the problem, but basically, you can't delete print jobs via the web interface without first authenticating. In some cases, such as a small LAN where you trust everyone, or a public computer lab where people don't have the passwords, authentication is annoying or impossible. The attached ebuild introduces a USE flag to allow the desired operation. Specifically, the USE flag and included patch (from the URL) will ignore the owner of a CUPS job/entity when AuthType is set to "none". This allows the jobs to be deleted, if so configured.

Reproducible: Always
Steps to Reproduce:
1. Set up a CUPS print server
2. From a different computer, a workstation, submit a long print job
3. From that workstation, browse to http://server:631/jobs and try to cancel the print job.

Actual Results:  
"Client-Error-Forbidden" error message 

Expected Results:  
Job should be successfully cancelled.
Comment 1 Greg 2004-09-08 19:46:29 UTC
Related bug is bug 29470, which says "fixed" despite it not being fixed in the latest ebuilds.
Comment 2 Greg 2004-09-08 19:48:34 UTC
Created attachment 39234 [details]
Ebuild with new use flag

Introduces package-specific USE flag "cupsignoreowner"
Comment 3 Greg 2004-09-08 19:49:47 UTC
Created attachment 39235 [details, diff]
This patch is turned on by the new use flag.

Downloaded from http://bostoncoop.net/adam/cups/cups_patch_1.1.20
Comment 4 Luis Medinas (RETIRED) gentoo-dev 2005-08-03 11:24:31 UTC
I don't think is a good ideia add this USE flag to cups. It's not safe imo. I
will mark this as WONTFIX. Thanks