[Samba] Proper way to configure smbspool_krb5_wrapper backend

Yvan Masson yvan at masson-informatique.fr
Tue Jan 21 14:27:07 UTC 2020


Hi list,

I need to configure printing from Debian desktops joined in an Active 
Directory environment. The print server is a Windows domain controller.

I understood I have to use 
/usr/lib/x86_64-linux-gnu/samba/smbspool_krb5_wrapper instead of the 
usual /usr/lib/cups/backend/smb (the former seems broken in Buster but I 
hope a fix will come, see 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948900).

However, I can't figure out the proper way to add this backend to CUPS:
- if I replace /usr/lib/cups/backend/smb with a link to 
smbspool_krb5_wrapper, it will be overridden by a future smbclient 
upgrade (and I can't use "normal" smb backend anymore),
- if I try to add a new backend by creating a link, say 
/usr/lib/cups/backend/smbkrb5, that points at smbspool_krb5_wrapper, it 
is not recognized by "lpinfo -v", even after restarting CUPS.

In your opinion, what is the proper way to use smbspool_krb5_wrapper?

Regards,
Yvan



More information about the samba mailing list