[Samba] Problem with secondary DC

Rowland penny rpenny at samba.org
Fri Aug 21 16:14:02 UTC 2020


On 21/08/2020 17:07, James B. Byrne wrote:
> On Thu, August 20, 2020 15:10 +0000, Rowland penny wrote:
>
>
>> It looks like 'smb4-2' is okay, if it is, I would demote 'smb4-1'
>> and start again.
> It does not seem to want to leave.
>
> [root at smb4-1 ~ (master)]# samba-tool domain demote
> Searching for dsServiceName in rootDSE failed: operations error at
> ../../source4/dsdb/samdb/ldb_modules/rootdse.c:518
> Failed to find our own NTDS Settings DN in the ldb!
> Searching for dsServiceName in rootDSE failed: operations error at
> ../../source4/dsdb/samdb/ldb_modules/rootdse.c:518
> Failed to find our own NTDS Settings DN in the ldb!
> Searching for dsServiceName in rootDSE failed: operations error at
> ../../source4/dsdb/samdb/ldb_modules/rootdse.c:518
> Failed to find our own NTDS Settings DN in the ldb!
> ERROR: Failed to find options on 24434d0a-045a-4c49-b96a-1e7716431382
>
Turn it off, never to come back (call the next DC a new name), then 
forcibly demote it on the remaining DC with:

samba-tool domain demote --remove-other-dead-server=smb4-1

Rowland





More information about the samba mailing list