diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-10-18 19:58:04 +1100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2012-10-18 13:14:38 +0200 |
commit | bea7a251781c65a87af6c6e1568cb71a5aef3f7f (patch) | |
tree | 33a88f72a7a879a1667be43711d03f53fc1fbf4e /source3/wscript | |
parent | 7786919428527f8e3b75806f5058ddd2a6ad4fab (diff) | |
download | samba-bea7a251781c65a87af6c6e1568cb71a5aef3f7f.tar.gz samba-bea7a251781c65a87af6c6e1568cb71a5aef3f7f.tar.bz2 samba-bea7a251781c65a87af6c6e1568cb71a5aef3f7f.zip |
build: Assert that auth_domain, auth_builtin, auth_sam, auth_winbind are builtin
These modules are used by default and for various reasons cannot be compiled into a .so
The code setting up these lists is generic, so it is easier to just assert early,
for this non-default configuration.
Andrew Bartlett
Signed-off-by: Andreas Schneider <asn@samba.org>
Address bug #9295 - Can't find guest.so module if auth_builtin is built as
module.
Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Thu Oct 18 13:14:38 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/wscript')
-rw-r--r-- | source3/wscript | 6 |
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 |