I decided to try to put an AD on the Samba 4 on CentOS 7.
It seems to be obvious - yum install samba
But no,
here I warn you that it is better to put from source code, sernet, but not from the packages for RedHat/CentOS.
It is now Sernet Sernet+ asks for a subscription (like minimum 250EUR/year), that's expensive.
What really remains an option configure - make - make install? I don't mind, but maybe it is better to create an rpm, at least from the same source? With make install, I faced 6 years ago, now all kind of packages normally placed. But Samba made me think.