Univention Active Directory Takeover - LDAP error 10


#1

Hello,

I try to do an active directory takeover, but i got error:

2019-05-09 12:33:15,897 Failed to commit objects: DOS code 0x000021bf
2019-05-09 12:33:15,981 Could not find machine account in secrets database: Failed to fetch machine account password for NLTS from both secrets.ldb (Could not find entry to match filter: ‘(&(flatname=NLTS)(objectclass=primaryDomain))’ base: ‘cn=Primary Domains’: No such object: dsdb_search at …/…/source4/dsdb/common/util.c:4712) and from /var/lib/samba/private/secrets.tdb: NT_STATUS_CANT_ACCESS_DOMAIN_INFO
2019-05-09 12:33:16,282 ERROR(runtime): uncaught exception - (8639, “Failed to process ‘chunk’ of DRS replicated objects: DOS code 0x000021bf”)
2019-05-09 12:33:16,283 File “/usr/lib/python2.7/dist-packages/samba/netcmd/init.py”, line 185, in _run
2019-05-09 12:33:16,283 return self.run(*args, **kwargs)
2019-05-09 12:33:16,283 File “/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py”, line 699, in run
2019-05-09 12:33:16,284 backend_store=backend_store)
2019-05-09 12:33:16,284 File “/usr/lib/python2.7/dist-packages/samba/join.py”, line 1535, in join_DC
2019-05-09 12:33:16,285 ctx.do_join()
2019-05-09 12:33:16,285 File “/usr/lib/python2.7/dist-packages/samba/join.py”, line 1429, in do_join
2019-05-09 12:33:16,285 ctx.join_replicate()
2019-05-09 12:33:16,285 File “/usr/lib/python2.7/dist-packages/samba/join.py”, line 965, in join_replicate
2019-05-09 12:33:16,286 replica_flags=ctx.replica_flags)
2019-05-09 12:33:16,286 File “/usr/lib/python2.7/dist-packages/samba/drs_utils.py”, line 356, in replicate
2019-05-09 12:33:16,294 raise e

can somebody help me?

thank you