Ubuntu – Export Active Directory from 2008R2 to Samba 4 DC

active-directoryUbuntuwindows-server-2008

I know that they can co-exist, but is it possible to export the contents of an AD into an Ubuntu server Domain Controller that's setup with Samba4 AD?

I'm hoping to reduce disruption as we take down a Server 2008R2 DC with DHCP/DNS/AD and migrate to Ubuntu.

Ideally, I'd like users to be able to keep their Windows profile and just have the new domain name match the old one. I am not concerned about group policy not being migrated.

I am hoping to migrate and then turn off AD on the 2008 VM and turn on Ubuntu.

Is the best option to just recreate all users on the new AD, get everyone to sign into a new Windows profile. It's 8.1/10 end users about 25 people.

Any tips or advice would be great!

Best Answer

You could probably use the ADMT if you wanted to create a new domain, but as you want to have a minimal impact on your user base then the logical thing to do is to join the samba host as a new domain controller (DC) in the same AD domain.

After that the AD objects should be replicated to the new DC and you should replicate the sysvol and netlogon shares manually or with robocopy.

The whole process is documented in the samba wiki: https://wiki.samba.org/index.php/Join_an_additional_Samba_DC_to_an_existing_Active_Directory