summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2013-12-16 13:31:31 +1300
committerAndrew Bartlett <abartlet@samba.org>2014-01-07 04:13:27 +0100
commiteef44dc2d56bedcb3b85e3bf24aff00bad4c79a7 (patch)
treee47351c1de638a7691e379959a6cab923254aeb3 /source3
parent2be17b799140ca5f1b5ebbccf72a6fda561ceef6 (diff)
downloadsamba-eef44dc2d56bedcb3b85e3bf24aff00bad4c79a7.tar.gz
samba-eef44dc2d56bedcb3b85e3bf24aff00bad4c79a7.tar.xz
samba-eef44dc2d56bedcb3b85e3bf24aff00bad4c79a7.zip
waf: Require ldap support to be specifically disabled
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/wscript9
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index 4578b0ae22e..fd5fc7380e2 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -659,6 +659,15 @@ msg.msg_acctrightslen = sizeof(fd);
if conf.CONFIG_SET('HAVE_BER_SOCKBUF_ADD_IO') and \
conf.CONFIG_SET('HAVE_LDAP_OPT_SOCKBUF'):
conf.DEFINE('HAVE_LDAP_SASL_WRAPPING', '1')
+ else:
+ conf.fatal("LDAP support not found. "
+ "Try installing libldap2-dev or openldap-devel. "
+ "Otherwise, use --without-ldap to build without "
+ "LDAP support. "
+ "LDAP support is required for the LDAP passdb backend, "
+ "LDAP idmap backends and ADS. "
+ "ADS support improves communication with "
+ "Active Directory domain controllers.")
else:
conf.SET_TARGET_TYPE('ldap', 'EMPTY')
conf.SET_TARGET_TYPE('lber', 'EMPTY')