Can't cancel jobs unless root

g4c9z at unb.ca g4c9z at unb.ca
Fri Dec 31 18:40:53 PST 2004


Sorry for the delay, people - I think I was waiting for it to e-mail me that I got a reply and then forgot about it.  My cupsd.conf was different - it had this:

<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>

and the jobs section was empty.  I added the AuthType and AuthClass like yours but it didn't seem to have an effect.  (I don't want to allow printing from all computers but only local printing).  From the documentation, it seemed like those lines would make it ask for a username and password from all users - or does it really cause cups to look at the user who printed the document and allow that user to cancel his/her own jobs?

I noticed that I can cancel the job from the KJobViewer that appears when I try to print (part of KDE) as a regular user; it's only through the CUPS web interface that I can't.  I suppose for now I can use KJobViewer as a workaround, but that won't help me if I later decide to stop using KDE. :)

Dane Miller wrote:
> Do you have the <Location /jobs> section of cupsd.conf setup correctly? Here's what I use:
>
> ##allow everyone access, insecure!
> <Location />
> Order Deny,Allow
> Deny From None
> Allow From All
> </Location>
>
>
> <Location /jobs>
> #
> # You may wish to limit access to job operations, either with Allow
> # and Deny lines, or by requiring a username and password.
> #
> AuthType Basic
> AuthClass User
> </Location>
>
>
> Regards,
> Dane
>
> --
> Dane Miller
> Technology Coordinator
> Olney Friends School
> Barnesville, Ohio
>
>
> g4c9z at unb.ca wrote:
> > I thought this was a bug but apparently the developers don't think so according to the trouble report.  I start printing something as a regular user, and when I go to cancel it through the web interface (http://127.0.0.1:631/), it says "client-error-forbidden".  Shouldn't I be allowed to cancel any job that I started?
> >





More information about the cups mailing list