[Samba] Switching roles between 2 DCs

Lothar Schilling ls at proasyl.de
Tue Aug 11 13:54:37 UTC 2020


Yep, that did it, thanks a lot, "-k yes" wasn't good enough. There now
was another error, though:

ERROR(<type 'exceptions.AttributeError'>): uncaught exception - 'module'
object has no attribute 'drs_utils'

The solution offered and working is inserting

  import samba
  import samba.getopt as options
  import ldb
+import samba.drs_utils
  from ldb import LdbError

into

/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py

Lothar

Am 11.08.2020 um 15:36 schrieb Rowland penny via samba:
> On 11/08/2020 14:01, Lothar Schilling via samba wrote:
>> samba-tool fsmo transfer --role=domaindns -k yes
>> Password for [MY_DOMAIN\root]:
>>
>> Any ideas?
>
> Yes, run 'kinit Administrator' before you run the samba-tool command.
>
> Rowland
>
>
>




More information about the samba mailing list