libcli/security: SDDL parse tests to run on Windows
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 22 Mar 2023 02:49:26 +0000 (15:49 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 28 Apr 2023 02:15:36 +0000 (02:15 +0000)
commitd9e1fa34563b9dbde1f6840412b19b380be9ffb0
treecc5d119d53766f0864a1b5d2a642878820179405
parent97353c00917c7313ba91c4d424e4358ecf9eead4
libcli/security: SDDL parse tests to run on Windows

The C version tests the public SDDL API on Windows which seems to follow
Active Directory closely, though case in hex numbers is reversed vis-a-vis
defaultSecurityDescriptor.

The python version is less refined and tests powershell functions.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/security/tests/windows-sddl-test.py [new file with mode: 0644]
libcli/security/tests/windows/windows-sddl-tests.c [new file with mode: 0644]