Andrew Bartlett
2020-Feb-28 18:54 UTC
[Samba] Issue compiling Samba 4.11.6 with GNUTLS 3.6.12 (Not standard location)
On Fri, 2020-02-28 at 18:38 +0000, Rowland penny via samba wrote:> > Is there a way to solve this build issue with Samba 4.11.6? > > > Not sure, but even if you can, you cannot use it without python3 > > RowlandG'Day Rowland, If the OS only needs to build Samba for a fileserver or a client library then the python3 issue doesn't come up, we still allow a build of those components as long as --disable-python is set. 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
Rowland penny
2020-Feb-28 19:06 UTC
[Samba] Issue compiling Samba 4.11.6 with GNUTLS 3.6.12 (Not standard location)
On 28/02/2020 18:54, Andrew Bartlett wrote:> On Fri, 2020-02-28 at 18:38 +0000, Rowland penny via samba wrote: >>> Is there a way to solve this build issue with Samba 4.11.6? >>> >> Not sure, but even if you can, you cannot use it without python3 >> >> Rowland > G'Day Rowland, > > If the OS only needs to build Samba for a fileserver or a client > library then the python3 issue doesn't come up, we still allow a build > of those components as long as --disable-python is set. > > Andrew BartlettHi Andrew, at no point does the OP state that he has set --disable-python, so it is reasonable to think he wants to build Samba to use it as a DC. If he does want to run Samba as a DC, then he will have problems. It says here: https://wiki.samba.org/index.php/Samba_4.11_Features_added/changed Under the heading: REMOVED FEATURES (trimmed to the salient points): Python2 support Samba 4.11 will not have any runtime support for Python 2. Except for this specific build-time use of python2, Samba now requires Python 3.4 as a minimum. 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 As the OP already has 4.10.x, there isn't much point in building Samba 4.11.x just to use it as a fileserver. Rowland
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 python3To 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
Maybe Matching Threads
- Issue compiling Samba 4.11.6 with GNUTLS 3.6.12 (Not standard location)
- Issue compiling Samba 4.11.6 with GNUTLS 3.6.12 (Not standard location)
- Issue compiling Samba 4.11.6 with GNUTLS 3.6.12 (Not standard location)
- compile samba 4.10.2 centos 7.6
- Debian Stretch - > buster: samba packages