pytest:sid_strings: add explicit S-1-* sid tests
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 5 Apr 2023 03:39:24 +0000 (15:39 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 28 Apr 2023 02:15:36 +0000 (02:15 +0000)
commitcb356a8d9090095e4dd524d0c9ea0d5824c135e4
tree1a1d37c661ab91ec51a49bc856e07e729903e5a6
parent4380b4694f593d877ebcf16a9ffd58361f7d2a60
pytest:sid_strings: add explicit S-1-* sid tests

We are mostly testing edge cases around the handling of numeric
limits.

These tests are based on ground truth established by running them
against Windows.

Many fail against Samba, because the defaulSecurityDescriptor
attribute is not validated at the time it is set while on Windows it
is.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/sid_strings.py
selftest/knownfail.d/sid-strings