[Samba] ERROR: parent object not found for replicate child DC in forest

Andrey Cherepanov cas at altlinux.ru
Thu Jun 18 06:21:32 MDT 2015


There is stand with AD forest contains DC with domain
company.local and DC with domain filial1.company.local (both on Windows
2003).

Our partner try to replicate domain
filial1.company.local from Windows DC to Samba AD DC 4.2.2 and get fatal
database error:

# samba-tool dbcheck --cross-ncs --fix
Checking 295 objects
ERROR: parent object not found for DC=filial1,DC=company,DC=local
Move object DC=filial1,DC=company,DC=local into LostAndFound?
[y/N/all/none] y
Failed to rename object DC=filial1,DC=company,DC=local into lostAndFound
at DC=filial1,CN=LostAndFound,DC=filial1,DC=company,DC=local : (53,
'objectclass: Cannot rename DC=filial1,DC=company,DC=local to be a child
of itself')
Checked 295 objects (1 errors)

There is check in dbchecker.py:
for DC=filial1,DC=company,DC=local
self.samdb.get_root_basedn() returns DC=company,DC=local

How I can fix this error?

-- 
Andrey Cherepanov
ALT Linux
cas at altlinux.ru


More information about the samba mailing list