[Bug 1708817] Re: Printing with smbspool_krb5_wrapper not working in Ubuntu 16.04
Andreas Hasenack
andreas at canonical.com
Mon Aug 28 14:26:35 UTC 2017
** Changed in: samba (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1708817
Title:
Printing with smbspool_krb5_wrapper not working in Ubuntu 16.04
Status in samba package in Ubuntu:
Incomplete
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/smbspool_krb5_wrapper is chmod 700
* "AuthInfoRequired negotiate" is set in /etc/cups/printers.conf
* /usr/lib/cups/backend/smb is a symbolic link to /usr/bin/smbspool_krb5_wrapper
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+dfsg-0ubuntu0.14.04.10 and on
16.04 I have 2:4.3.11+dfsg-0ubuntu0.16.04.9. I attach the smb.conf
file which is exactly the same for both 14.04 and 16.04.
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/cups/error_log, after setting
"LogLevel debug" in /etc/cups/cupsd.conf, in 16.04 where it does not
work (I have just changed my uid and gid to 1000). When I compare the
log with 14.04 where it does work I see that 16.04 uses two
backslashes when setting KRB5CCNAME while 14.04 does not use
backslashes, maybe that is the problem?
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!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1708817/+subscriptions
More information about the foundations-bugs
mailing list