Best practice to replace an AD DC

Matthieu Patou mat at
Thu Sep 18 02:06:42 MDT 2014

On 09/18/2014 12:28 AM, Daniele Dario wrote:
> Hi Samba Team,
> first off I'd say thanks to everybody who's contributing to the Samba
> project because Samba it's both a fantastic work and learning
> instrument.
> Last week one of the two samba 4 AD DCs of my domain crashed due to an
> HDD problem.
> Now I'm going to replace the disk and reinstall the OS and the idea is
> to re-use the same hostname when ready so I need some advice.
> The two DCs are (one were) running samba 4.1.9 and luckily the one which
> crashed was not owning any FSMO role so actually the only problem is
> that replication is stopped (obviously).
> Can I just use the old smb.conf and idmap.ldb before start samba on the
> new installation
If it's just smb.conf and idmap.ldb it's ok, it's really important not 
to reuse the same sam.ldb.
Be sure to do a rejoin, it should remove the old Server when trying to 


Matthieu Patou
Samba Team

More information about the samba-technical mailing list