samba-tool backtrace with py3.8

Bug #1864324 reported by Andreas Hasenack
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
samba
Unknown
Unknown
samba (Ubuntu)
Fix Released
High
Andreas Hasenack

Bug Description

$ samba-tool
ERROR(<class 'SystemError'>): uncaught exception - 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

Related branches

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

This is fixed in 4.11.6, btw.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package samba - 2:4.11.5+dfsg-1ubuntu2

---------------
samba (2:4.11.5+dfsg-1ubuntu2) focal; urgency=medium

  * d/p/samba-tool-py38-*.patch: use correct method flags (LP: #1864324)

 -- Andreas Hasenack <email address hidden> Sat, 22 Feb 2020 17:22:21 -0300

Changed in samba (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
SWick (swick) wrote :

Works great. Thanks for the fix.

Just did a fresh 20.4 test setup with 2 DCs
and also dist-upgraded two 18.04 test setups with two DCs each from 18.04 to 20.04

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thank you for the feedback! I'm also prepping 4.11.6 for upload into focal

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.