[Pkg-samba-maint] Bug#961585: Samba4 and python3 problem

Michał Mikurda michal.mikurda at xtrf.eu
Tue May 26 12:06:17 BST 2020


Package: samba-common-bin
Version: 2:4.11.5+dfsg-1+b1

samba-tool returns:
ERROR(<class 'SystemError'>): uncaught exception - max_update_size()
method: bad call flags
  File "/usr/bin/samba-tool", line 44, in <module>
    retval = cmd._run("samba-tool", subcommand, *args)
  File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line
256, in _run
    cmd = self.subcommands[cmd_name]
  File "/usr/lib/python3/dist-packages/samba/netcmd/main.py", line 35,
in __getitem__
    self[attr] = getattr(__import__('samba.netcmd.%s' % package,
  File "/usr/lib/python3/dist-packages/samba/netcmd/domain.py", line
44, in <module>
    from samba.join import join_RODC, join_DC, join_subdomain
  File "/usr/lib/python3/dist-packages/samba/join.py", line 24, in <module>
    from samba import gensec, Ldb, drs_utils, arcfour_encrypt,
string_to_byte_array


The debian version of samba still has a problem with python version 3.8.
The bug has long been solved in samba sources
(https://bugzilla.samba.org/show_bug.cgi?id=14209).
When can a Debian solution be expected?


I'm using bullseye/sid version of Debian

dpkg-query -l | grep samba
ii  python3-samba                  2:4.11.5+dfsg-1+b1
amd64        Python 3 bindings for Samba
ii  samba                          2:4.11.5+dfsg-1+b1
amd64        SMB/CIFS file, print, and login server for Unix
ii  samba-common                   2:4.11.5+dfsg-1                all
        common files used by both the Samba server and client
ii  samba-common-bin               2:4.11.5+dfsg-1+b1
amd64        Samba common files used by both the server and the client
ii  samba-dsdb-modules:amd64       2:4.11.5+dfsg-1+b1
amd64        Samba Directory Services Database
ii  samba-libs:amd64               2:4.11.5+dfsg-1+b1
amd64        Samba core libraries
ii  samba-vfs-modules:amd64        2:4.11.5+dfsg-1+b1
amd64        Samba Virtual FileSystem plugins

Michał M.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20200526/e95b4029/attachment.html>


More information about the Pkg-samba-maint mailing list