summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/wscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index 11ef767c0a..3874df5fbc 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1617,6 +1617,12 @@ main() {
final_static_modules.remove(m)
final_shared_modules.append(m)
+ if ("auth_domain" not in final_static_modules) or \
+ ("auth_builtin" not in final_static_modules) or \
+ ("auth_sam" not in final_static_modules) or \
+ ("auth_winbind" not in final_static_modules):
+ raise Utils.WafError('These auth modules MUST be configured as static modules: auth_domain, auth_builtin, auth_sam, auth_winbind')
+
conf.env['static_modules'] = final_static_modules
conf.env['shared_modules'] = final_shared_modules