Building Samba master on CentOS 7 (gnutls)
abartlet at samba.org
Tue Sep 3 03:40:29 UTC 2019
You correctly mentioned that discussing how to get past the new GnuTLS
requirements on a unrelated and now closed Merge Request is not
We do still have a mailing list, and this more 'meta' kind of issue is
what it is for.
The background is that we, in order to avoid having significant
duplicated cryptographic code in the SMB2 server, we chose to
exclusively require GnuTLS 3.5.7 or later. We will increase this
version in the future as and when the distribution landscape permits it
as it is no longer favoured to have cryptographic code 'in-house'.
The instructions for preparing a build environment on CentOS7 are here:
The key line is 'yum copr enable -y sergiomb/SambaAD' which enables a
user repository with compat-gnutls34-* in it. This is far from ideal,
it would be much better if this was in EPEL, but someone would need to
step up and do that.
However this is only half of the story, as to avoid overwriting the
system gnutls, the package is installed in a subdirectory.
The build needs to first set as an environment variable
(this is in .gitlab-ci.yml).
Do let me know if you have any further trouble and I'll spin up and image and debug further for you.
Authentication Developer, Samba Team https://samba.org
Samba Development and Support, Catalyst IT
More information about the samba-technical