lpc status prompts for password when user auth is used to access jobs

Mickael Marchand mmarcha at ujf-grenoble.fr
Thu Dec 9 00:49:05 PST 2004


Hi,

I have setup cupsd so that it prompts people for their password when they want to remove a job.
This is working fine for printing and controlling jobs.

However, 'lpc status' for some reason prompts for a password too (to access the job list) whereas 'lpq' does the same work without any prompt. 'lpc status' asks the password when there is actually a job in the queue apparently, if there is none, it does not ask.

I believe 'lpc status' does not use the same code than 'lpq' to access the spool, it would be really fine to see 'lpc status' and 'lpq' use the same method since it breaks some apps that does not expect 'lpc status' to prompt for passwords ...

Cheers,
Mik

setup used for user auth in cupsd.conf (cups 1.1.20 from debian):
<Location /jobs>
AuthType Basic
AuthClass User
</Location>






More information about the cups mailing list