Bug#868316: cups-bsd: lpr does not print with "DefaultPolicy authenticated" in cupsd.conf
Hello,
the bug at least somehow has to do with these lines in cups/request.c:
if (strcmp(cg->http->hostname, cg->server) ||
cg->ipp_port != httpAddrPort(cg->http->hostaddr) ||
(cg->http->encryption != cg->encryption &&
cg->http->encryption == HTTP_ENCRYPTION_NEVER))
The ports compared in line 2 are different, so that the connection is
closed. Though a new connection is opened immediately after, the new
connection does not have the authentication information from the
previous connection, so that authentication fails.
As on our hosts we use the cups unix socket anyway, a quick solution is
to comment out the second line.
Regards
Christoph
Reply to: