Kerberos printing (smbspool) with CUPS 1.5+ does not work anymore. The KRB5CCAME is not available. Therefore we need a wrapper binary around smbspool which is executed as root and switches to the correct user to be able to access the Kerberos credential cache. For this I have implemented smb_krb5_wrapper. From the new README.smbspool smbspool ========= smbspool is a very small print spooling program that sends a print file to an SMB printer. The command-line arguments are position-dependent for compatibility with the CUPS. For printing support with Kerberos, CUPS 1.5+ needs a wrapper for the backend which sets the correct location of the Kerberos credential cache. smbspool_krb5_wrapper ====================== This tool can be used to print using Kerberos credentials. To get this working smbspool_krb5_wrapper needs to be the smb backend of CUPS. It needs to be owned by root and the permissions for the binary need to be 0700. Once smbspool_krb5_wrapper switched to the correct user it executes smbspool.
Created attachment 11791 [details] patch for 4.2
Created attachment 11792 [details] patch for 4.3
Reassigning to Karolin for inclusion in 4.2 and 4.3.
(In reply to Ralph Böhme from comment #3) Pushed to autobuild-v4-[2|3]-test.
(In reply to Karolin Seeger from comment #4) Pushed to v4-3-test, re-trying autobuild-v4-2-test.
(In reply to Karolin Seeger from comment #5) Pushed to all branches. Closing out bug report. Thanks!
Created attachment 11811 [details] manpage for 4.4
Created attachment 11812 [details] manpage for 4.3 and 4.2
Karolin, please add the manpages to the branches too.
Pushed manpages to autobuilds.
Pushed to all branches. Closing out bug report. Thanks!