summaryrefslogtreecommitdiffstats
path: root/source3/wscript
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2013-12-16 14:59:35 +1300
committerAndrew Bartlett <abartlet@samba.org>2014-01-07 04:13:27 +0100
commit8d6bc9987c22248453c0acd25616eda35d6d99db (patch)
tree429e65c29caeffa6e62de277a3a8a42db8780d09 /source3/wscript
parenteef44dc2d56bedcb3b85e3bf24aff00bad4c79a7 (diff)
downloadsamba-8d6bc9987c22248453c0acd25616eda35d6d99db.tar.gz
samba-8d6bc9987c22248453c0acd25616eda35d6d99db.tar.xz
samba-8d6bc9987c22248453c0acd25616eda35d6d99db.zip
waf: Require --without-ads-support to build without ADS support
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/wscript')
-rw-r--r--source3/wscript7
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/wscript b/source3/wscript
index fd5fc7380e2..6ef8d899449 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.")