From eef44dc2d56bedcb3b85e3bf24aff00bad4c79a7 Mon Sep 17 00:00:00 2001 From: Garming Sam Date: Mon, 16 Dec 2013 13:31:31 +1300 Subject: waf: Require ldap support to be specifically disabled Signed-off-by: Garming Sam Reviewed-by: Andrew Bartlett Reviewed-by: Jelmer Vernooij --- source3/wscript | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source3') diff --git a/source3/wscript b/source3/wscript index 4578b0ae22..fd5fc7380e 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') -- cgit