[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#868316: cups-bsd: lpr does not print with "DefaultPolicy authenticated" in cupsd.conf



On Mon 17 Jul 2017 at 10:09:47 +0200, Christoph Pleger wrote:

> Hello,
> 
> On 2017-07-14 17:51, Brian Potkin wrote:
> 
> >We'll need an error_log; the Printing section of the wiki will guide
> >you in getting one. Compress it with gzip and send it to #868316.
> 
> The log is attached. I stopped the cups daemon, removed the old error_log,
> started the cups daemon, tried to print, and after the print job had been
> removed from the queue, stopped the daemon. So, the log contains only these
> steps.

D [17/Jul/2017:09:55:22 +0200] [Client 63] 2.0 Send-Document 3
D [17/Jul/2017:09:55:22 +0200] Send-Document ipp://localhost:631/printers/nd50
D [17/Jul/2017:09:55:22 +0200] cupsdIsAuthorized: username=""
D [17/Jul/2017:09:55:22 +0200] [Client 63] Returning HTTP Nicht berechtigt for Send-Document (ipp://localhost:631/printers/nd50) from localhost

The username has an empty value, so sending the document is not
authorised. I have no idea why username is "".
 
> >Also attach your cupsd.conf and give the printer make and model.
> 
> It is the original cupsd.conf copied from /usr/share/cups/cupsd.conf.default
> at package installation, only with an additional
> 
> DefaultPolicy authenticated
> 
> entry.
> 
> There are several printers, all of them remote printers imported by
> cups-browsed - which is also currently broken related to authenticated
> policy, see #868283, so that I installed an older version. Of course, I
> verified that printing works with this older version of cups-browsed and
> "DefaultPolicy default".

I installed 1.10.0-1 and got printing with "DefaultPolicy default" but
none with "DefaultPolicy authenticated" - as happened to you. Then I
reverted to 1.11.6-3 and got no printing for either directive.

I wonder if this bug and #868283 have the same origin.

Regards,

Brian.


Reply to: