[PATCH 3/4] ldb-samba: Only build extensions and ildap if we build the AD DC.

Andreas Schneider asn at samba.org
Thu Nov 20 02:26:36 MST 2014


Signed-off-by: Andreas Schneider <asn at samba.org>
---
 lib/ldb-samba/wscript_build | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/ldb-samba/wscript_build b/lib/ldb-samba/wscript_build
index 7016b2f..d37d4d4 100644
--- a/lib/ldb-samba/wscript_build
+++ b/lib/ldb-samba/wscript_build
@@ -29,7 +29,8 @@ bld.SAMBA_MODULE('ldbsamba_extensions',
                  module_init_name='ldb_init_module',
                  subsystem='ldb',
                  deps='ldb ldbsamba POPT_SAMBA POPT_CREDENTIALS cmdline-credentials gensec',
-                 internal_module=False)
+                 internal_module=False,
+                 enabled=bld.AD_DC_BUILD_IS_ENABLED())
 
 
 # the s4-internal ldap backend
@@ -39,4 +40,5 @@ bld.SAMBA_MODULE('ldb_ildap',
                  module_init_name='ldb_init_module',
                  deps='talloc cli-ldap samba-credentials auth_system_session',
                  internal_module=False,
-                 subsystem='ldb')
+                 subsystem='ldb',
+                 enabled=bld.AD_DC_BUILD_IS_ENABLED())
-- 
2.1.2




More information about the samba-technical mailing list