diff options
author | Stefan Metzmacher <metze@samba.org> | 2023-03-20 12:04:37 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2023-03-22 22:10:32 +0000 |
commit | e0a8e043d339cf5e1c9b2643e6d151ab2ae81c05 (patch) | |
tree | d18614cf533473dec9abbd63d2f1c46deddb2f07 | |
parent | 7b0d5285361e6dc40e09bc0d36bb2aae5d5a86a7 (diff) | |
download | samba-e0a8e043d339cf5e1c9b2643e6d151ab2ae81c05.tar.gz |
s4:dsdb/tests: let OwnerGroupDescriptorTests() remove temporary ACEs on cleanup
Otherwise we impact other unrelated tests, e.g. 'blackbox.dbcheck'.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15338
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rwxr-xr-x | source4/dsdb/tests/python/sec_descriptor.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/dsdb/tests/python/sec_descriptor.py b/source4/dsdb/tests/python/sec_descriptor.py index 2c197a846a5..cc7ca97c60b 100755 --- a/source4/dsdb/tests/python/sec_descriptor.py +++ b/source4/dsdb/tests/python/sec_descriptor.py @@ -183,6 +183,8 @@ class OwnerGroupDescriptorTests(DescriptorTests): delete_force(self.ldb_admin, "OU=test_domain_ou2,OU=test_domain_ou1," + self.base_dn) delete_force(self.ldb_admin, "OU=test_domain_ou1," + self.base_dn) # SCHEMA + mod = "(A;CI;WDCC;;;AU)(A;;CC;;;AU)" + self.sd_utils.dacl_delete_aces(self.schema_dn, mod) # CONFIGURATION delete_force(self.ldb_admin, "CN=test-specifier1,CN=test-container1,CN=DisplaySpecifiers," + self.configuration_dn) |