Mailinglist Archive: opensuse-bugs (4627 mails)

< Previous Next >
[Bug 1040951] samba-krb-printing unable to get kerberos ticket
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 29 Jun 2017 14:16:59 +0000
  • Message-id: <bug-1040951-21960-NsZavTaaqA@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1040951
http://bugzilla.suse.com/show_bug.cgi?id=1040951#c7

--- Comment #7 from flo gleixner <gleixner@xxxxxx> ---
to make it working, i uninstalled samba-krb-printing and replaced
/usr/lib/cups/backend/smb with a script:

#!/bin/bash
echo 'network smb "Unknown" "Windows Printer via SAMBA"'
PRINTERID=`id -u $2`
su -c "KRB5CCNAME=FILE:/tmp/krb5cc_${PRINTERID} /usr/bin/smbspool $1 $2 \"$3\"
$4 \"$5\"" $2


Now i installed samba-krb-printing again, and printing fails. In cups errorlog
i see:

D [29/Jun/2017:16:04:15 +0200] [Job 97] gss_krb5_import_cred
ccache[DIR::/run/user/54400/krb5cc/tkt] failed with [Unspecified GSS failure.
Minor code may provide more information: No credentials cache found] -the
caller may retry after a kinit.
D [29/Jun/2017:16:04:15 +0200] [Job 97] Failed to start GENSEC client mech
gse_krb5: NT_STATUS_INTERNAL_ERROR
D [29/Jun/2017:16:04:15 +0200] [Job 97] SPNEGO login failed: An internal error
occurred.
E [29/Jun/2017:16:04:15 +0200] [Job 97] Session setup failed:
NT_STATUS_INTERNAL_ERROR
....
D [29/Jun/2017:16:04:15 +0200] [Job 97] PID 12901 (/usr/lib/cups/backend/smb)
stopped with status 2.
....
I [29/Jun/2017:16:04:15 +0200] [Job 97] Backend returned status 2
(authentication required)
...



Using the script works:

D [29/Jun/2017:16:14:14 +0200] [Job 97] PID 13097 (/usr/lib/cups/backend/smb)
exited with no errors.

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >