s4/librpc/py_security: add SDDLValueError
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 25 Oct 2023 02:56:30 +0000 (15:56 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 1 Nov 2023 20:10:46 +0000 (20:10 +0000)
commit054725440f2d5452219fbbaa868feb2fe862c3ba
tree7628faad0afbbcc3f5a1f79e2b03b2d1a87f6d13
parent0c123e142f41092210c953f82db29d4eff6950e6
s4/librpc/py_security: add SDDLValueError

This will soon be raised for SDDL parsing errors.

It would have been nice to have it as a subclass of
ValueError, meaning that all existing callers would
continue to catch this error as before, but it turns
out that that is quite difficult.

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