[cups.bugs] [HIGH] STR #3933: Mac OS X can't print to Cups 1.5

hans peter verne hanspv+cups at usit.uio.no
Thu Aug 18 10:04:47 PDT 2011


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Compiled and installed cups 1.5 on Redhat 5.7 .  Previously (cups 1.3.7), I
could print from a Mac using ipp, ie. to ipp://server:631/printers/myqueue
..  This does not work on cups 1.5.

(This may be a Mac issue, I have filed a bug report with apple.  But then,
the mac uses cups, so it's a cups-to-cups problem).

I use basic authentication, i.e. username and password.  

When building the queue on the mac, I get an annoying message that "Unable
to verify the printer on your network".  Duh.  In printers.conf on the
server, it has set "Accepting Yes" and "Shared Yes"

When printing, the job is set "on hold, (Authentication req'rd)".  This is
as expected.  When Resuming the job, I expect a popup asking for
username/password.  This doesn't happen with cups-1.5.

On the mac, I can run 
sudo lpadmin -p mac_queue_name -o auth-info-required=username,password
After this, I will be prompted for username,password when Resuming.

Still, the server rejects the job, the mac tells me "on hold,
(Authentication req'rd)".  On the server side, the cups error log says:

D [18/Aug/2011:16:41:43 +0200] cupsdAcceptClient: 12 from
129.240.203.176:631 (IPv4)
D [18/Aug/2011:16:41:43 +0200] cupsdReadClient: 12 POST /printers/lhc
HTTP/1.1
D [18/Aug/2011:16:41:43 +0200] cupsdSetBusyState: newbusy="Active
clients", busy="Not busy"
D [18/Aug/2011:16:41:43 +0200] cupsdAuthorize: No authentication data
provided.
D [18/Aug/2011:16:41:43 +0200] cupsdCloseClient: 12
D [18/Aug/2011:16:41:43 +0200] cupsdSetBusyState: newbusy="Not busy",
busy="Active clients"

This happens with client = Mac OS X 10.6.8 (Snow Leopard, cups 1.4.7) and
10.7.1 (Lion, cups 1.5.0).  Ubuntu 11.4 seems to run into similar trouble.
 Possibly other OS'es too, haven't tried so much.

I have attached the server cupsd.conf . It's not changed much from the
dist version, just turned on debug logging and set to accept jobs from the
net.

I'll be happy to supply further info or try out things if anybody has
suggestions.

Link: http://www.cups.org/str.php?L3933
Version: 1.5.0
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cupsd.conf
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20110818/9200dfe0/attachment.ksh>


More information about the cups-devel mailing list