conditional_aces: Avoid manual parsing for ace_condition_unicode
commit0ac979b2cc67d178327f2171bfac40186c40c70c
authorAndrew Bartlett <abartlet@samba.org>
Thu, 21 Sep 2023 00:26:15 +0000 (21 12:26 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 26 Sep 2023 23:45:36 +0000 (26 23:45 +0000)
treeb08eb41d5af172103f8356d8313c875b7a335454
parent5f4197bfab5e30c576b9e5c75720a9f8606686ba
conditional_aces: Avoid manual parsing for ace_condition_unicode

A consequence of this is that we remove the confusing "length"
from the IDL, as it was the internal UTF8 length, not a wire
value.  We use null terminated strings internally now.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
libcli/security/claims-conversions.c
libcli/security/conditional_ace.c
libcli/security/sddl_conditional_ace.c
librpc/idl/conditional_ace.idl