[cups.general] cupsGetJobs() gets "Unauthorized"
Michael Sweet
msweet at apple.com
Thu Aug 5 07:46:01 PDT 2010
Have you run kinit as root?
On Aug 5, 2010, at 7:37 AM, John A. Murdie wrote:
> I'm getting "Unauthorized" from a process running as root on our CUPS server which calls:
>
> cupsGetJobs(&jobs, NULL, 0, CUPS_WHICHJOBS_ALL)
>
> Previously, it worked. I can't think what has changed except moving to CUPS 1.4.4 from 1.4.3 - and my old install on the latter now fails identically also.
>
> The appropriate part of cupsd.conf is:
>
> # Default authentication type, when authentication is required...
> DefaultAuthType Negotiate
>
> # Restrict access to the server...
> # Note that we need to 'Allow from localhost' for Windows LPR printing etc
> <Location />
> Order allow,deny
> Allow from localhost
> Require user @SYSTEM @students
> Encryption Required
> AuthType Default # required to force authentication
> Satisfy any
> </Location>
>
> This is with CUPS 1.4.4.
>
> Any suggestions how I may debug this? Nothing that I can see in error_log.
>
> John A. Murdie
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
More information about the cups
mailing list