Please refer to this howto
And this discussion: Add/Replace existing AD Domain Controller with ns7
To demote the old DC: https://wiki.samba.org/index.php/Transferring_and_Seizing_FSMO_Roles
Please refer to this howto
And this discussion: Add/Replace existing AD Domain Controller with ns7
To demote the old DC: https://wiki.samba.org/index.php/Transferring_and_Seizing_FSMO_Roles