"Resetting" a DC (and other stories)

Matthieu Patou mat at matws.net
Tue Apr 24 10:57:23 MDT 2012


On 04/24/2012 01:15 AM, Kev Latimer wrote:
> Morning all,
>
> To cut a long story short, (I'm doing another post in a minute with my 
> actual problem), is there a way to get a DC to "forget" everything it 
> knows about AD and force it replicate from a nominated "known good" 
> DC?  In a sense, resetting it but without trying to unjoin/rejoin the 
> domain?  Delete sam.ldb or the contents of sam.ldb.d/ for example?  
> I've a situation where replication has gone a little awry I'd like to 
> see if there's a quick way of just getting a DC to start again...
>
> I've tried samba-tool drs replicate but that is throwing the error I'm 
> trying to clear...

   --sync-forced         use SYNC_FORCED to force inbound replication
   --sync-all            use SYNC_ALL to replicate from all DCs
   --full-sync           resync all objects


Try --full-sync, also maybe the best is to rejoin ?

Matthieu.




More information about the samba-technical mailing list