Samba 4.11 became Python3 only so this is fixed in (testing, almost stable) bullseye 2:4.13.5+dfsg-2 (unstable) sid 2:4.13.5+dfsg-2
Andrew Bartlett -- Andrew Bartlett (he/him) https://samba.org/~abartlet/ Samba Team Member (since 2001) https://samba.org Samba Team Lead, Catalyst IT https://catalyst.net.nz/services/samba Samba Development and Support, Catalyst IT - Expert Open Source Solutions