Printing with smbspool_krb5_wrapper not working in Ubuntu 16.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I have two computers, one with Ubuntu 14.04 LTS and one with Ubuntu 16.04 LTS. On both computers I have configured the printer with cups to print by using my Kerberos credential in the same way and it works in 14.04 but not in 16.04.
In 16.04 the print job just stays listed forever in "lpq" until I manually remove it with "lprm", while it goes through to the printer in 14.04.
For both 14.04 and 16.04 I have that
* /usr/bin/
* "AuthInfoRequired negotiate" is set in /etc/cups/
* /usr/lib/
The users does not exist in /etc/passwd, instead they are in LDAP and when they log in to the computer they get some Kerberos tickets for the domain and the network file system. When printing on 14.04 they get another Kerberos ticket for the printing system according to "klist" after they have done "lpr" and printed a document. On 16.04 nothing is printed and the user gets no Kerberos ticket for the printing system and the job is left in "lpq".
On 14.04 I have Samba version 2:4.3.11+
On 14.04 I have CUPS 1.7.2-0ubuntu1.8 and on 16.04 I have 2.1.3-4.
I attach how it looks like in /var/log/
Thanks for any ideas about what goes wrong in 16.04 or how I can track down the problem, e.g., by comparing with 14.04 where it does work!
description: | updated |
tags: | added: cups |
description: | updated |
Changed in samba (Ubuntu): | |
status: | New → Incomplete |
Sometimes the cups error_log also have the below line "HTTP_STATE_WAITING Closing for error 32 (Broken pipe)". Both this line and the line "Could not determine network interfaces, you must use a interfaces config line" maybe can give some idea on what goes wrong?
D [05/Aug/ 2017:12: 52:04 +0200] [Job 89] SMBSPOOL_KRB5 - Started with uid=0 2017:12: 52:04 +0200] [Job 89] SMBSPOOL_KRB5 - AUTH_INFO_ REQUIRED= negotiate 2017:12: 52:04 +0200] [Job 89] SMBSPOOL_KRB5 - Switching to gid=1000 2017:12: 52:04 +0200] [Job 89] SMBSPOOL_KRB5 - Switching to uid=1000 2017:12: 52:04 +0200] [Job 89] SMBSPOOL_KRB5 - Setting KRB5CCNAME to \'FILE: /tmp/krb5cc_ 1000\' 2017:12: 52:04 +0200] [Client 12] HTTP_STATE_WAITING Closing for error 32 (Broken pipe) 2017:12: 52:04 +0200] [Client 12] Closing connection. 2017:12: 52:04 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files" 2017:12: 52:04 +0200] [Job 89] Could not determine network interfaces, you must use a interfaces config line
D [05/Aug/
D [05/Aug/
D [05/Aug/
D [05/Aug/
D [05/Aug/
D [05/Aug/
D [05/Aug/
E [05/Aug/