]> git.ipfire.org Git - thirdparty/samba.git/commit
pytest:sddl: tests around spaces in access flags and SIDs
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Sat, 22 Apr 2023 20:52:42 +0000 (08:52 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 28 Apr 2023 02:15:36 +0000 (02:15 +0000)
commitec2d2f8ea83f433b32071ebf40a8358c084b060b
treedfac2f5a7cbfaa7f7a0a5a181916defcd9bc5b80
parent0528da54b8cc53954f10f23049fa90a5f3bdd50c
pytest:sddl: tests around spaces in access flags and SIDs

It turns out that in accesss flags Windows will allow leading spaces
and spaces separating flags but not trailing spaces.

We choose to follow this in part because we found it happening in the
wild in our tests for upgradeprovision until a few commits ago.

Windows will also allow spaces in some parts of SIDs.

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