]> git.ipfire.org Git - thirdparty/samba.git/commit
s4/librpc/py_security: use SDDLValueError for better error messages
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 26 Oct 2023 04:46:35 +0000 (17:46 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 1 Nov 2023 20:10:46 +0000 (20:10 +0000)
commitd7fe04205f8dedd61404c2aa03f1dda7d2dc72b7
tree527087600fe91991f41972863d6fc0c20570a67f
parentfd8cf82be1e36a6398de3d6f48daf890a7fa8c9c
s4/librpc/py_security: use SDDLValueError for better error messages

The aim is to allow samba-tool to tell users where their SDDL went
wrong.

Some tests would turn into errors (not knownfail-able failures)
if they were not changed at the same time, so they are changed too.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/sddl.py
python/samba/tests/security.py
source4/librpc/ndr/py_security.c