[cups.general] Re: permission to cancel jobs via web interface

Gene Heskett gene.heskett at verizon.net
Fri Jan 14 18:58:50 PST 2005

On Friday 14 January 2005 14:24, Rodrigo Ventura wrote:
>I found a solution to the "client-error-forbidden". I'm using
>BasicDigest as admin authentication type. However, I was using the
>username admin in passwd.md5. After consulting cups sources I found
> in scheduler/ipp.c the following line in function validate_user(),
> called by cancel_job() to validate the user:
>  if (strcasecmp(username, owner) != 0 && strcasecmp(username,
> "root") != 0)
>which means that if the username issuing the cancel request is
> "root", it is allowed to cancel the job. Well, in my passwd.md5 I
> changed ftom admin to root, and it worked! Now the cups
> administrator is able to cancel jobs!
>Since I haven't seen this solution anywhere, I ask, PLEASE, PLEASE,
>cups documentation maintainers to add this relevant issue in admin
>documentation and/or some cups FAQ!
>Rodrigo Ventura

What else is in that file?, mine was a zero length file.

Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.32% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.

More information about the cups mailing list