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 > > >
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 > > LotharIt looks like you are using an unsupported (by Samba) version of Samba, I suggest you upgrade as soon as possible. Rowland
Am 11.08.2020 um 16:02 schrieb Rowland penny via samba:> 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. > > RowlandThat's what I did: /etc/apt/sources.list deb cdrom:[Debian GNU/Linux 10.4.0 _Buster_ - Official amd64 DVD Binary-1 20200509-10:26]/ buster contrib main deb http://deb.debian.org/debian/ buster main deb-src http://deb.debian.org/debian/ buster main deb http://security.debian.org/debian-security buster/updates main contrib deb-src http://security.debian.org/debian-security buster/updates main contrib deb http://deb.debian.org/debian/ buster-updates main contrib deb-src http://deb.debian.org/debian/ buster-updates main contrib deb http://ftp.de.debian.org/debian/ buster main contrib non-free deb-src http://ftp.de.debian.org/debian/ buster main contrib non-free apt-get install samba libpam-heimdal heimdal-clients ldb-tools winbind libpam-winbind smbclient libnss-winbind bind9 bind9utils dnsutils Lothar