[Samba] Failed to find our own NTDS Settings DN in the ldb!
James B. Byrne
byrnejb at harte-lyne.ca
Thu Aug 13 14:07:19 UTC 2020
FreeBSD-12.1p7
Samba-4.10.15
I attempted (and failed) to restart the second DC on a test domain and got this
error in smbd.log
Failed to find our own NTDS Settings DN in the ldb!
[root at smb4-1 ~ (master)]# host -t A smb4-1.brockley.harte-lyne.ca
smb4-1.brockley.harte-lyne.ca has address 192.168.18.161
[root at smb4-1 ~ (master)]# host -t A smb4-2.brockley.harte-lyne.ca
smb4-2.brockley.harte-lyne.ca has address 192.168.18.162
[root at smb4-1 ~ (master)]# samba-ldbsearch -H /var/db/samba4/private/sam.ldb
'(invocationId=*)' --cross-ncs objectguid
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!
# record 1
dn: CN=NTDS
Settings,CN=SMB4-2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=brockley,DC=harte-lyne,DC=ca
objectGUID: 00d350dd-20ae-4718-be2a-90c924adc19b
# record 2
dn: CN=NTDS
Settings,CN=SMB4-1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=brockley,DC=harte-lyne,DC=ca
objectGUID: aac648b2-aac8-411d-afe0-7cbd5455841c
# returned 2 records
# 2 entries
# 0 referrals
Up to this point I have not experienced problems in getting both DCs to start.
How do I fix this? How did this error become introduced?
--
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Unencrypted messages have no legal claim to privacy
Do NOT open attachments nor follow links sent by e-Mail
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
More information about the samba
mailing list