From 8d6bc9987c22248453c0acd25616eda35d6d99db Mon Sep 17 00:00:00 2001 From: Garming Sam Date: Mon, 16 Dec 2013 14:59:35 +1300 Subject: waf: Require --without-ads-support to build without ADS support Signed-off-by: Garming Sam Reviewed-by: Andrew Bartlett Reviewed-by: Jelmer Vernooij --- source3/wscript | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source3/wscript b/source3/wscript index fd5fc7380e..6ef8d89944 100644 --- a/source3/wscript +++ b/source3/wscript @@ -23,7 +23,7 @@ def set_options(opt): action="store", dest='shared_modules', default=None) opt.SAMBA3_ADD_OPTION('winbind') - opt.SAMBA3_ADD_OPTION('ads', default=None) # None means autodetection + opt.SAMBA3_ADD_OPTION('ads') opt.SAMBA3_ADD_OPTION('ldap') opt.SAMBA3_ADD_OPTION('cups', with_name="enable", without_name="disable") opt.SAMBA3_ADD_OPTION('iprint', with_name="enable", without_name="disable") @@ -768,7 +768,10 @@ msg.msg_acctrightslen = sizeof(fd); if not use_ads_ldap: Logs.warn("Active Directory support not available: LDAP support ist not available.") if Options.options.with_ads: - conf.fatal("Active Directory support not found. Use --without-ads for building without Active Directory support.") + conf.fatal("Active Directory support not found. Use --without-ads " + "for building without Active Directory support. " + "ADS support improves communication with " + "Active Directory domain controllers.") else: # this is the auto-mode case Logs.warn("Building without Active Directory support.") -- cgit