[Bug 1708817] Re: Printing with smbspool_krb5_wrapper not working in Ubuntu 16.04

Van Svensson 1708817 at bugs.launchpad.net
Sat Aug 5 10:58:40 UTC 2017


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
D [05/Aug/2017:12:52:04 +0200] [Job 89] SMBSPOOL_KRB5 - AUTH_INFO_REQUIRED=negotiate
D [05/Aug/2017:12:52:04 +0200] [Job 89] SMBSPOOL_KRB5 - Switching to gid=1000
D [05/Aug/2017:12:52:04 +0200] [Job 89] SMBSPOOL_KRB5 - Switching to uid=1000
D [05/Aug/2017:12:52:04 +0200] [Job 89] SMBSPOOL_KRB5 - Setting KRB5CCNAME to \'FILE:/tmp/krb5cc_1000\'
D [05/Aug/2017:12:52:04 +0200] [Client 12] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [05/Aug/2017:12:52:04 +0200] [Client 12] Closing connection.
D [05/Aug/2017:12:52:04 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
E [05/Aug/2017:12:52:04 +0200] [Job 89] Could not determine network interfaces, you must use a interfaces config line

-- 
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:
  New

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.

  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

  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.

  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