diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-12-09 23:43:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:47:16 -0500 |
commit | d811ea17bb3a487b8bdcd2f9aa8dc4ba5cb2ab01 (patch) | |
tree | 128dae49d8b57ee988e72b4b1217798484672344 /source4/torture/local | |
parent | 7b090b06bf494bcc9bbd080ec2f8761659d8cc6b (diff) | |
download | samba-d811ea17bb3a487b8bdcd2f9aa8dc4ba5cb2ab01.tar.gz samba-d811ea17bb3a487b8bdcd2f9aa8dc4ba5cb2ab01.tar.bz2 samba-d811ea17bb3a487b8bdcd2f9aa8dc4ba5cb2ab01.zip |
r12158: added ldif handlers for the ntSecurityDescriptor attribute, so when
displaying security descriptors in ldbsearch or ldbedit you can see
the SDDL version.
This also allows us to specify security descriptors in our
setup/*.ldif files in SDDL format, which is much more convenient than
the NDR binary format!
(This used to be commit 8185731c1846412c1b3366824cdb3d05b2d50b73)
Diffstat (limited to 'source4/torture/local')
-rw-r--r-- | source4/torture/local/sddl.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/torture/local/sddl.c b/source4/torture/local/sddl.c index 8d5874d878..01f4d839d9 100644 --- a/source4/torture/local/sddl.c +++ b/source4/torture/local/sddl.c @@ -57,6 +57,13 @@ static BOOL test_sddl(TALLOC_CTX *mem_ctx, const char *sddl) return False; } +#if 0 + /* flags don't have a canonical order ... */ + if (strcmp(sddl, sddl2) != 0) { + printf("Failed sddl equality test\norig: %s\n new: %s\n", sddl, sddl2); + } +#endif + if (DEBUGLVL(2)) { NDR_PRINT_DEBUG(security_descriptor, sd); } |