[Samba] Python2 support in Samba 4.11

Andrew Bartlett abartlet at samba.org
Fri Feb 28 19:18:22 UTC 2020


On Fri, 2020-02-28 at 19:06 +0000, Rowland penny via samba wrote:
> So, by my reading, unless you do build Samba 4.11.x with 
> --disable-python, you will not be able to run it satisfactorily as a DC 
> without python3

To be clear:

git checkout origin/v4-11-test && PYTHON=python2 ./configure 

Checking for program 'python3'  : /usr/bin/python3 
Checking for python version >= 3.4.0 : 2.7.17 
The python version is too old, expecting (3, 4, 0)
(complete log in /home/abartlet/samba/bin/config.log)


git checkout origin/v4-11-test && PYTHON=python2 ./configure --disable-python

Gives:
--disable-python requires --without-ad-dc

git checkout origin/v4-11-test && PYTHON=python2 ./configure --disable-python --without-ad-dc

Gives:
'configure' finished successfully (1m10.383s)

So, this was never about Samba as an AD DC (a feature fond to my heart).

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba





More information about the samba mailing list