On Tue, 02 Nov 2021 15:17:42 +0100 Laurent Grawet <debian-b...@grawet.be> wrote:
Package: smbclient
Version: 2:4.13.5+dfsg-2
Severity: normal
Dear Maintainer,
* What led up to the situation? no way to choose between smb and
smbspool_krb5_wrapper cups backend
* What exactly did you do (or not do) that was effective (or
ineffective)? add alternative
* What was the outcome of this action? success
According to the upstream comments, this appears to be not how
this stuff supposed to work in the first place. But I'm not
sure.
This is how I've configured the new alternative:
update-alternatives --install /usr/lib/cups/backend/smb \
cups-backend-smb \
/usr/lib/x86_64-linux-gnu/samba/smbspool_krb5_wrapper 50
FWIW, we moved smbspool_krb5_wrapper from /usr/lib/$triple/samba/
to /usr/libexec/ in 4.16. Having an arch-specific path there is
definitely not nice.
/mjt