dsdb: Audit group membership changes
[nivanova/samba-autobuild/.git] / source4 / dsdb / samdb / ldb_modules / wscript_build
index 3e591a0a0d57f0af13b3f799dbc62e909735002e..1216a1fd99fcfbaaf813dde468bcd4bbcc0cf298 100644 (file)
@@ -40,6 +40,7 @@ bld.SAMBA_BINARY('test_encrypted_secrets',
             DSDB_MODULE_HELPERS
         ''',
         install=False)
+
 #
 # These tests require JANSSON, so we only build them if we are doing a selftest
 # build.
@@ -69,6 +70,18 @@ if bld.CONFIG_GET('ENABLE_SELFTEST'):
                 DSDB_MODULE_HELPERS
             ''',
             install=False)
+    bld.SAMBA_BINARY('test_group_audit',
+            source='tests/test_group_audit.c',
+            deps='''
+                talloc
+                samba-util
+                samdb-common
+                samdb
+                cmocka
+                audit_logging
+                DSDB_MODULE_HELPERS
+            ''',
+            install=False)
 
 if bld.AD_DC_BUILD_IS_ENABLED():
     bld.PROCESS_SEPARATE_RULE("server")