Hello All, Is it possible to migrate from 4.2.14-SerNet-RedHat-23.el7 to samba-4.4.4-13.el7_3.x86_64 on centOS7? I've got two centos7 servers running sernet versions of samba. Both are AD DC's, with 600 users. If I run yum install samba4, I get a promising error back: Package samba-4.4.4-13.el7_3.x86_64 is obsoleted by 99:sernet-samba-4.2.14-23.el7.x86_64 which is already installed So, if I can get yum to install samba4 over sernet-samba, will I break anything? Many thanks, Tim
Am 25.05.2017 um 10:53 schrieb Tim ODriscoll via samba:> Is it possible to migrate from 4.2.14-SerNet-RedHat-23.el7 to samba-4.4.4-13.el7_3.x86_64 on centOS7? > > I've got two centos7 servers running sernet versions of samba. Both are AD DC's, with 600 users. > > If I run yum install samba4, I get a promising error back: > Package samba-4.4.4-13.el7_3.x86_64 is obsoleted by 99:sernet-samba-4.2.14-23.el7.x86_64 which is already installed > > So, if I can get yum to install samba4 over sernet-samba, will I break anything?Yes, you will especially lose the Active Directory support. The packages from centOS are built without that, because Samba and CentOS favour different flavours of Kerberos. You can however easily get the source and compile Samba yourself. Just look in the wiki for the prerequisites for centOS7. It is one huge "yum install" command, mostly for some libraries. I just compiled it on Scientific Linux 6 after the exact same command.
On 25 May 2017 10:11:> You can however easily get the source and compile Samba yourself. Just > look in the wiki for the prerequisites for centOS7. It is one huge "yum > install" command, mostly for some libraries. I just compiled it on > Scientific Linux 6 after the exact same command.Excellent, thank you for the pointer.. Tim
Hi Tim, Am 25.05.2017 um 10:53 schrieb Tim ODriscoll via samba:> Is it possible to migrate from 4.2.14-SerNet-RedHat-23.el7 to> samba-4.4.4-13.el7_3.x86_64 on centOS7?>> I've got two centos7 servers running sernet> versions of samba. Both are AD DC's, with 600 users. You can't migrate DCs yet to Red Hat packages. Samba currently does not have MIT Kerberos support. This will be introduced in Samba 4.7. Because of the missing MIT Kerberos support, Red Hat (CentOS) packages are built without DC capabilities. You can build Samba yourself. See Wiki. A migration documentation (package to self-compiled, self-compiled to packages, or package to other packages) is currently work in progress. Maybe I have it finished next week. Regards, Marc
Hi Marc, On 25 May 2017 10:25:> You can build Samba yourself. See Wiki.Thank you, that looks like the solution. Although I'm tempted to wait for 4.7 in case I break something..> A migration documentation (package to self-compiled, self-compiled to > packages, or package to other packages) is currently work in progress. > Maybe I have it finished next week.Am I correct in thinking that to migrate from sernet's packages I'd need to remove one server from the domain, re-compile the samba source using the same configure options, then 'make install', then re-join it to the domain as a DC? Then do the same on my other DC..? Many thanks, Tim