[Samba] Problem to join Samba 4 DC an existing Windows AD

L.P.H. van Belle belle at bazuin.nl
Mon Jun 24 15:07:53 UTC 2019

> > ERROR(runtime): uncaught exception - (8639, "Failed to 
> > process 'chunk' of
> > DRS replicated objects: DOS code 0x000021bf")

0x000021bf : 
The replication operation failed because the target object referred by a link value is recycled.  
Maybe first run : samba-tool domain tombstones expunge 
Check the DNS if any leftovers and check with RSAT also for leftovers. 

Then run : samba-tool dbcheck --cross-nc
Fix things where needed. 

THEN join. 

And use : 
samba-tool domain join empresa.com.br DC -Uadministrator --realm=EMPRESA.COM.BR

DNS domain = empresa.com.br and Kerberos domain = EMPRESA.COM.BR 
These are NOT the same. 



More information about the samba mailing list