Control: tag -1 + pending 05.11.2024 19:34, Holger Schletz wrote:
Package: python3-samba Version: 2:4.21.1+dfsg-2~bpo12+1 Severity: normalDear Maintainer, After upgrading from 4.20.x to 4.21.x, "samba-tool domain backup offline" stopped working: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/samba/netcmd/main.py", line 93, in samba_tool cmd, argv = cmd_sambatool()._resolve("samba-tool", *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..
The root cause was the import of the "cryptography" module in /usr/lib/python3/dist-packages/samba/gkdi.py, where the module was not installed on my system. I fixed the problem by installing python3-samba manually. This package should become a dependency of python3-samba.
Yes, this is already fixed in git (since I ran across this same issue too) but I haven't yet made a new release. /mjt

