[Samba] SOLVED: ad dc demotion fails trying to use non-existent dc as 'partner server for the4 demontion'
jdetert at infinityhealthcare.com
Wed Mar 11 15:28:18 MDT 2015
As far as I could tell, dc2 was successfully demoted. I don't recall any errors when I demoted it.
Furthermore, it was not anywhere I could see in ActiveDirectory Users and Computers or Sites and Services. Not in the DNS Manager.
However, the problem is now solved: I recreated dc2, added it as a dc, and then I was able to demote dc3, and after that demote dc2.
So, in the end all is well.
From: Marc Muehlfeld <mmuehlfeld at samba.org>
Sent: Tuesday, March 10, 2015 4:20 PM
To: Jonathan Detert; samba at lists.samba.org
Subject: Re: [Samba] ad dc demotion fails trying to use non-existent dc as 'partner server for the4 demontion'
Am 09.03.2015 um 20:26 schrieb Jonathan Detert:
> which fails with this error:
> "Using dc2.infinity.local as partner server for the demotion"
> The problem is that dc2 was demoted some weeks ago, and is no longer running samba4.
Was dc2 successfully demoted? If yes, you should check, if your
replication is working. Maybe not all DCs got that information
replicated for some reason.
> Is there a way I can force dc3 to use a different dc as the 'partner server'?
# samba-tool domain demote --server=...
More information about the samba