s4-libnet: Raise NTSTATUSError not RuntimeError in keytab export
authorAndrew Bartlett <abartlet@samba.org>
Thu, 7 Mar 2024 02:34:37 +0000 (15:34 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Mar 2024 22:06:39 +0000 (22:06 +0000)
commit014f1b561e823b037c58cd156f96c0e6ef953290
tree026b59c18742292f340d8f24cabbb73af24c2904
parent0cb1e4dbf8ef92d678eb2da7fc0a3c283ea68193
s4-libnet: Raise NTSTATUSError not RuntimeError in keytab export

We should never raise RuntimeError if we have a better option.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jo Sutton <josutton@catalyst.net.nz>
source4/libnet/py_net_dckeytab.c