Linux as an ADDC server. Best options/practices

Hello!

 

Logan(Wolverine)/Wendell(Stanley Parable narrator). What would recommend as an AD DC server in terms of hardware and Linux distro (I am doing some tests with Debian and Ubuntu).

Is there a change of making an tutorial or guide? :)

I am doing some test to try to upgrade the server in my workplace but a light is always welcome.

I know almost nothing about this (I have tried several times, I am a kid and I wanted to fool with Windows domains a little, never got it working, I resorted to Windows Server 2008 with...special things) but one of the promising Linux Distros I tried was called Zentyal, it is supposedly able to do this. You might look into it, if you figure anything out let me know, I'd love to run a Linux based domain controller.

Yes! Zentyal is a very good one. Actually now I am using Debian as ADDC using compiled version of , not distro version, of Samba, keeping updated (without breaking it). And, probably, will play with the Samba 4.2 (finally!!!).
When provisioning and domain using the internal samba DNS backend I had no problems, had problems only when using bind9 as DNS backend.
Biggest problems was that I had to config the new server and migrate everything to the new server (users, groups, shares, permissions etc) because the old server had problems like GPOs not working anymore, share blocking without explanation. But I couldnt migrate everything because each object inside the AD, users, groups etc had and SID, an unique identifier that is randomly created the first time the object is created. There is a command to redefine the SID of a user or group but it really does nothing. The SID would solve my problems with users configurations and files that are not stored in server's disks. But I gave up because I wasted to much time with it. Now I will migrate each sector and copy the local files (I wish I could order everyone to copy it to their domain shares, but I cant). Probably I will try a script to do it automatically.
Thank you for the answer.