[Samba] Building samba 4.17.4 on CentOS7

Rowland Penny rpenny at samba.org
Wed Jan 18 16:24:06 UTC 2023



On 18/01/2023 16:02, Greg Dickie wrote:
> Ok now, but did 4.10.16? I was just trying to rebuild their source RPM.

OK, Samba first started using python 3 at version 4.10.0 , but you could 
build Samba with python 2 if you ran '.configure' and 'make' like this:

   'PYTHON=python2 ./configure'
   'PYTHON=python2 make'

Samba 4.11.0 did not come with runtime support for python 2, but you 
could still build it as above

Samba 4.11.0 required a minimum of python 3.4, which was raised to 3.5 
as Samba 4.12.0 and again to python 3.6 at 4.13.0

Python 2 was removed from samba at 4.14.0 and a minimum of python 3.6 
was then required.

That's the facts, now my opinion:

Centos is now dead, red-hat bought it and basically shut it down, so why 
continue to use it ?
Have you considered using Debian ? Right from the start of Samba 4 it 
has been easier to set up Samba on it. If you use Debian 11 and Samba 
from backports, you get (at the moment) the latest version of Samba 4.17.4

Rowland





More information about the samba mailing list