summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2017-11-27 11:09:49 +1300
committerAndrew Bartlett <abartlet@samba.org>2017-12-10 00:47:29 +0100
commit4d5da6c72bd60064459170af1db00c7367f87fbe (patch)
treef605ac46ecb49d06043a8c068ec493d616d468ba /source4/selftest
parent2599f291447ef2ec1c8a394dbe838126d43204c4 (diff)
downloadsamba-4d5da6c72bd60064459170af1db00c7367f87fbe.tar.gz
source4 dsdb modules: Add new module "unique_object_sids"
New module that sets the LDB_FLAG_INTERNAL_UNIQUE_VALUE on all local objectSIDS and ensure it is cleared for any foreign security principals. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13004 Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'source4/selftest')
-rwxr-xr-xsource4/selftest/tests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index c132ac90b54..a9ed46f5c8e 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -990,3 +990,8 @@ for env in ['vampire_dc', 'promoted_dc', 'rodc']:
# check the databases are all OK. PLEASE LEAVE THIS AS THE LAST TEST
for env in ["ad_dc_ntvfs", "ad_dc", "fl2000dc", "fl2003dc", "fl2008r2dc", 'vampire_dc', 'promoted_dc']:
plantestsuite("samba4.blackbox.dbcheck(%s)" % env, env + ":local" , ["PYTHON=%s" % python, os.path.join(bbdir, "dbcheck.sh"), '$PREFIX/provision', configuration])
+
+# cmocka tests not requiring a specific encironment
+#
+plantestsuite("samba4.dsdb.samdb.ldb_modules.unique_object_sids" , "none",
+ [os.path.join(bindir(), "test_unique_object_sids")])