Printing from Lion to Cups 1.5.0

hans peter verne hanspv+cups at usit.uio.no
Fri Aug 12 07:13:17 PDT 2011


I installed cups 1.5.0 from src on a server (RedHat 5.7), and set up queues.
We want basic authentication (username/password, no kerberos).  I set
LogLevel debug in cupsd.conf .

Then, I try to set up a few queues on a Mac OS X 10.7 "Lion" (build ver. 11A511).  When I try to print, the printer icon starts to jump
around, and I can click on it open the queue window, and click "Resume".
I can now enter a username/password  (Actually, I have to run
lpadmin -p queue -o auth-info-required=username,password
in a shell for this to work).  Nevertheless, the job drops back to
"on hold (Authentication required)", and on the server I see this
in the error log:

D [12/Aug/2011:15:41:03 +0200] cupsdAcceptClient: 12 from 129.240.203.176:631 (IPv4)
D [12/Aug/2011:15:41:03 +0200] Report: clients=1
D [12/Aug/2011:15:41:03 +0200] Report: jobs=0
D [12/Aug/2011:15:41:03 +0200] Report: jobs-active=0
D [12/Aug/2011:15:41:03 +0200] Report: printers=1088
D [12/Aug/2011:15:41:03 +0200] Report: printers-implicit=0
D [12/Aug/2011:15:41:03 +0200] Report: stringpool-string-count=9546001
D [12/Aug/2011:15:41:03 +0200] Report: stringpool-alloc-bytes=251400
D [12/Aug/2011:15:41:03 +0200] Report: stringpool-total-bytes=173869512
D [12/Aug/2011:15:41:03 +0200] cupsdReadClient: 12 POST /printers/lhc HTTP/1.1
D [12/Aug/2011:15:41:03 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [12/Aug/2011:15:41:03 +0200] cupsdAuthorize: No authentication data provided.
D [12/Aug/2011:15:41:03 +0200] cupsdCloseClient: 12
D [12/Aug/2011:15:41:03 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [12/Aug/2011:15:41:19 +0200] cupsdAcceptClient: 12 from 129.240.203.176:631 (IPv4)
D [12/Aug/2011:15:41:19 +0200] cupsdReadClient: 12 POST /printers/lhc HTTP/1.1
D [12/Aug/2011:15:41:19 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [12/Aug/2011:15:41:19 +0200] cupsdAuthorize: No authentication data provided.
D [12/Aug/2011:15:41:19 +0200] cupsdCloseClient: 12
D [12/Aug/2011:15:41:19 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"

I assume the first "No authentication data provided" is legit, as this
is before I type my username/password, but the second time (16s later)
this should work...   Any suggestions as to why it doesn't?


Regards,
Hans Peter






More information about the cups mailing list