[cups.general] cups server using IPP: access denied when deleting jobs

Gene Heskett gene.heskett at verizon.net
Mon Jan 2 18:29:10 PST 2006


On Monday 02 January 2006 13:15, Cyrill Helg wrote:
>Hi out there
>
>I'm having troubles with my cups server. I installed the hp printer
> without problems and can use it also by a windows machine over IPP.
>
>But when I try to cancel an existing job, I'll get the following
> message: Access denied. In the cups error log, this is shown:
>
>//Log:
>E [31/Dec/2005:14:07:59 +0100] cancel_job: "anonymous" not authorized
> to delete job id 11 owned by "User"!
>
>Or when I choose cancel all jobs in windows, thats what cups says:
>
>//Log_
>E [31/Dec/2005:14:33:18 +0100] cancel_all_jobs: admin request on bad
> resource '/printers/hppsc'!
>
>
>I don't know what the options in cups.conf are important for that. I
> allowed everything in / as shown here:
>
>
></Location>
>Order Deny,Allow
>Deny From All
>Allow From 192.168.1.*
></Location>
>
>
>I also tried the same options in /jobs or even /admin, but it does
> not help.
>
>Thanks for any hint!
>
>Cyrill Helg

I ran ito that too, and kept changing the options around based on the 
10,000 monkeys writing Shakespear theory.  At any rate, something I 
did finally made it ask me for roots password when I request something 
along those lines, and when I enter it, the cancel or whatever is then 
done.

Its probably something in the Location Admin...  Some snips from 
my /etc/cups/cupsd.conf

<Location />
Order Deny,Allow
Deny From All
Allow From @LOCAL
</Location>

[...]

<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From @LOCAL
</Location>

YMMV of course.

-- 
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules.  I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.





More information about the cups mailing list