diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-12-07 18:58:57 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2012-12-11 09:05:08 +0100 |
commit | b9241d62bdd1dab49867d290fbdaa48aeb4a3661 (patch) | |
tree | 365d0bdd4155e8fd9f587810bf5705697c0c1bdd | |
parent | 73c2db7ba4a29d3b6041d5263748dc1172cdf090 (diff) | |
download | samba-b9241d62bdd1dab49867d290fbdaa48aeb4a3661.tar.gz |
s4:dsdb/tests/sec_descriptor: verify the search of a windows dc join keeps working
This is a regression test for bug #9470.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Mon Dec 10 15:41:12 CET 2012 on sn-devel-104
(cherry picked from commit 53b736444d55c4eed3abbc34974b655cc2607cd6)
The last 13 patches address bug #9470 - MMC crashes.
-rwxr-xr-x | source4/dsdb/tests/python/sec_descriptor.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/dsdb/tests/python/sec_descriptor.py b/source4/dsdb/tests/python/sec_descriptor.py index cf213ab0436..78cd052a939 100755 --- a/source4/dsdb/tests/python/sec_descriptor.py +++ b/source4/dsdb/tests/python/sec_descriptor.py @@ -1965,6 +1965,13 @@ class SdFlagsDescriptorTests(DescriptorTests): self.assertTrue("D:" in sddl) self.assertTrue("S:" in sddl) + def test_312(self): + """This search is done by the windows dc join...""" + + res = self.ldb_admin.search(self.base_dn, SCOPE_BASE, None, ["1.1"], + controls=["extended_dn:1:0", "sd_flags:1:0", "search_options:1:1"]) + self.assertFalse("nTSecurityDescriptor" in res[0]) + class RightsAttributesTests(DescriptorTests): def deleteAll(self): |