[Samba] Re-replicate LDAP

Andreas Oster aoster at novanetwork.de
Sun Oct 14 23:56:11 MDT 2012


Am 15.10.2012 01:50, schrieb Kristofer:
> I currently have 10 domain controllers (all Samba 4rc1), and I would like to "reset" one of them. 
> 
> I would like to completely clear out their LDAP database, and force it to get a fresh copy replicated from one of the other 9 DC's out there. 
> 
> What would be the proper way of doing this with Samba 4? I know in Windows, you can demote a DC, and then promote it, and it will recover any data, but am unsure of how to replicate that procedure with S4. 
> 
Hello Kristofer,

I guess you can achieve the same with:

samba-tool domain demote -Uadministrator

afterwards you can join the DC again.

best regards

Andreas



More information about the samba mailing list