#998328 smbclient: missing alternative for smbspool_krb5_wrapper cups backend

Package:
smbclient
Source:
samba
Description:
command-line SMB/CIFS clients for Unix
Submitter:
Laurent Grawet
Date:
2022-04-23 09:45:03 UTC
Severity:
normal
#998328#5
Date:
2021-11-02 14:17:42 UTC
From:
To:
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

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

update-alternatives --install /usr/lib/cups/backend/smb \
        cups-backend-smb \
        /usr/bin/smbspool 25

Best regards,

Laurent

#998328#10
Date:
2021-11-04 08:21:10 UTC
From:
To:
Le mar. 2 nov. 2021 à 15:21, Laurent Grawet <debian-bugs@grawet.be> a écrit :

Thanks. Could you propose a merge request for this in the samba repo?:

https://salsa.debian.org/samba-team/samba/


Regards.

#998328#15
Date:
2022-04-23 09:40:38 UTC
From:
To:
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.

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