It is better to put Samba 4 on CentOS 7 from source or yum install?

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.
July 9th 19 at 13:14
2 answers
July 9th 19 at 13:16
Solution
Take speck and collect your rpm file. Then install as usual.
If you wish to deploy on other servers.
Thanks for the reply, and I will do it, and in fact, on other servers can be useful. - annette_Prosacco commented on July 9th 19 at 13:19
Stupid question: take spec file from somewhere or it is supposed to create? If "take", I for samba, something I don't know where to look. - annette_Prosacco commented on July 9th 19 at 13:22
going on rpm.pbone.net looking for the word samba, pokes at most any rpm, and in the next window, choose the Source RPM. Here it contains the desired spec file. Unable to install it. You source deploy. Omkonfigurera spec file as it should - Yes collect for your platform - Nathan_Gaylord commented on July 9th 19 at 13:25
: take a look. And then I pulled spec from sernet and ... just pribaldel... Then found easier (visually) to https://github.com/nkadel/samba-4.3.x-srpm/blob/ma... Yes, thanks again, I will study materiel. - annette_Prosacco commented on July 9th 19 at 13:28
July 9th 19 at 13:18
Stupid question: take spec file from somewhere or it is supposed to create? If "take", I for samba, something I don't know where to look.
This is a response to a comment I missed. - annette_Prosacco commented on July 9th 19 at 13:21

Find more questions by tags CentOSSambaGNU Make