diff options
author | Garming Sam <garming@catalyst.net.nz> | 2015-02-13 16:49:58 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2015-02-25 01:08:12 +0100 |
commit | a1f1db277a2c452b63b9fe2d67cabfe0df60223d (patch) | |
tree | 73c0c6a4bb203d2105ddae56cb44ecca88e22a4e /source4/lib/tls | |
parent | f7b6e696ed552f02195c87a7eede5a0090f8df1f (diff) | |
download | samba-a1f1db277a2c452b63b9fe2d67cabfe0df60223d.tar.gz |
build: Require GnuTLS if building with Active Directory
Without GnuTLS, we don't have ldaps:// support and we are unable to
readily create RSA keys of the correct length for the BackupKey
protocol.
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/lib/tls')
-rw-r--r-- | source4/lib/tls/wscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/tls/wscript b/source4/lib/tls/wscript index 57cd89418aa..ae963950f25 100644 --- a/source4/lib/tls/wscript +++ b/source4/lib/tls/wscript @@ -25,6 +25,9 @@ def configure(conf): if 'HAVE_GNUTLS' in conf.env: conf.DEFINE('ENABLE_GNUTLS', 1) + else: + if 'AD_DC_BUILD_IS_ENABLED' in conf.env: + conf.fatal("Building the AD DC requires GnuTLS (eg libgnutls-dev, gnutls-devel) for ldaps:// support and for the BackupKey protocol") conf.CHECK_FUNCS_IN('gnutls_global_init', 'gnutls', headers='gnutls/gnutls.h') |