Moving a s4 DC to a different host

Andrew Bartlett abartlet at
Tue Oct 16 20:59:16 MDT 2012

On Tue, 2012-10-16 at 18:59 +0200, Marc Muehlfeld wrote:
> Hello,
> we have to move our samba4 DC (we just have one DC at the moment) to a 
> different host with different name/IP. What would be the best way for that?
> - Install bind/samba/etc. as in the s4 wiki on the new host
> - Join the new machine as DC like described here: 
> - Copy sysvol content to the new server
> - Unjoin the domain (samba-tool domain demote) on the old server
> - Remove everything of s4 from the old server
> Is this the correct way? Do I have to pay attention to anything else?

Pretty much.  You may need to move the fsmo roles across before the
demote, otherwise it can fail.

Andrew Bartlett

Andrew Bartlett                      
Authentication Developer, Samba Team 

More information about the samba-technical mailing list