[Samba] Demote a working DC fails with uncaught exception
spindles7-2 at yahoo.co.uk
Wed Mar 30 22:26:12 UTC 2016
I am consistently getting the error:
root at dc2:~# samba-tool domain demote -Uadministrator
Using dc1.microlynx.com as partner server for the demotion
Password for [MICROLYNX\administrator]:
Deactivating inbound replication
Asking partner server dc1.microlynx.com to synchronize from us
Changing userControl and container
ERROR(<type 'exceptions.TypeError'>): uncaught exception - remove_sysvol_references() takes exactly 3 arguments (2 given)
File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run
return self.run(*args, **kwargs)
File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line 943, in run
root at dc2:~#
Samba version is 4.4.0 running on Debian Jessie. Replication was working OK before the demotion attempt as was SysVol replication
and samba-tool ntacl sysvolcheck produced no errors. All 7 FSMO roles reside on dc1.
Was able to remove the DC by using the --remove-other-dead-server option.
Any ideas how to troubleshoot this problem?
More information about the samba