[Samba] Switching roles between 2 DCs

Rowland penny rpenny at samba.org
Tue Aug 11 14:02:57 UTC 2020


On 11/08/2020 14:54, Lothar Schilling via samba wrote:
> 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

It looks like you are using an unsupported (by Samba) version of Samba, 
I suggest you upgrade as soon as possible.

Rowland





More information about the samba mailing list