Created attachment 15326 [details] Fix imports ERROR(<class 'AttributeError'>): uncaught exception - module 'samba' has no attribute 'drs_utils' File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 185, in _run return self.run(*args, **kwargs) File "/usr/lib/python3/dist-packages/samba/netcmd/fsmo.py", line 531, in run transfer_dns_role(self.outf, sambaopts, credopts, role, samdb) File "/usr/lib/python3/dist-packages/samba/netcmd/fsmo.py", line 134, in transfer_dns_role except samba.drs_utils.drsException as e: As detailed in an email from 2016[1], this can be trivially fixed by adding the correct imports. [1]https://lists.samba.org/archive/samba/2016-September/203376.html
*** This bug has been marked as a duplicate of bug 13973 ***