[cups.general] AuthType Digest problems

Keith Bawden keith at bawdo.com
Tue Jan 27 02:24:12 PST 2009


Hello All,

I'm having some problems getting AuthType Digest  to work as it should.

The only nonstandard changes from a freshly compiled cups 1.3.9
install is the following changes to cups.conf

SystemGroup cupsadmin
DefaultAuthType Digest

I have created my test user "freddo" and have tested his account out
successfully by adding/deleting printer queues via lpadmin run locally
and over the wire from another host using the -h option. No worries
there...

However, when it comes to using a browser (Firefox 2,3 and Safari
3.1.2) all admin operations fail. I have pasted in the relevant log
entires:

cupsdAuthorize: Authorized as freddo using Digest
[CGI] /usr/lib/cups/cgi-bin/admin.cgi started - PID = 24775
Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=24775)
cupsdSendCommand: 8 file=11
cupsdAcceptClient: 10 from localhost (Domain)
[CGI] admin.cgi started...
[CGI] http=0x947ced8
[CGI] op="add-printer"...
[CGI] do_am_printer: DEVICE_URI="socket://nrt1-prt-105.nrt1.amazon.com:9100"
cupsdReadClient: 10 POST /admin/ HTTP/1.1
cupsdAuthorize: No authentication data provided.
CUPS-Add-Modify-Printer ipp://localhost/printers/ripper
cupsdIsAuthorized: username=""
CUPS-Add-Modify-Printer: Unauthorized
cupsdSendError: 10 code=401 (Unauthorized)
cupsdSendHeader: WWW-Authenticate: Digest realm="CUPS", nonce="localhost"
cupsdCloseClient: 10
cupsdAcceptClient: 10 from localhost (Domain)
cupsdReadClient: 10 POST /admin/ HTTP/1.1
cupsdAuthorize: Authorized as freddo using Local
CUPS-Add-Modify-Printer ipp://localhost/printers/ripper
cupsdIsAuthorized: username="freddo"
Authorized using Basic, expected Digest!
CUPS-Add-Modify-Printer: Unauthorized
cupsdSendError: 10 code=401 (Unauthorized)

Regards, Keith





More information about the cups mailing list