← Back to team overview

enterprise-support team mailing list archive

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

 

Public bug reported:

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!

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: 16.04 kerberos samba ubuntu

** Attachment added: "/var/log/cups/error_log"
   https://bugs.launchpad.net/bugs/1708817/+attachment/4927488/+files/cups-error_log.txt

** Description changed:

  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.
- I have "AuthInfoRequired negotiate" in /etc/cups/printers.conf.
- I have made a symbolic link from /usr/lib/cups/backend/smb to /usr/bin/smbspool_krb5_wrapper.
- I have set "LogLevel debug" in /etc/cups/cupsd.conf.
+ 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, i.e., by comparing with 14.04 where it does work!

** Description changed:

  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, i.e., by comparing with 14.04 where it does work!
+ down the problem, e.g., by comparing with 14.04 where it does work!

** Description changed:

  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.
+ * "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!

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1708817

Title:
  Printing with smbspool_krb5_wrapper not working in Ubuntu 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1708817/+subscriptions


Follow ups