s3-lib/util_nttoken: Reimplement dup_nt_token() with NDR pull/push
authorAndrew Bartlett <abartlet@samba.org>
Thu, 14 Sep 2023 06:24:36 +0000 (18:24 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 26 Sep 2023 23:45:35 +0000 (23:45 +0000)
commitc9cf90aee864d8131dc386d61f3e35602c2ed63c
tree72465ae283cb238a4953f9157c197496e5adb59d
parentf8215ed3434cee9107fb8e58d67bd7e36bbf2a73
s3-lib/util_nttoken: Reimplement dup_nt_token() with NDR pull/push

The struct security_token can now contain complex claims as well as SIDs
so we can no longer just duplicate it by hand.  Instead let PIDL and libndr
do the hard work for us.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source3/lib/util_nttoken.c