s4:kdc: Split samba_kdc_get_pac_blobs() into smaller functions
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 20 Mar 2023 02:16:21 +0000 (15:16 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 Mar 2023 18:40:31 +0000 (18:40 +0000)
commit9d59e42a2bacf53eda99f0a3d96f9ce4088b1ddc
tree412730261bab53d6ed1123e9001dc46f1a4a6c88
parentc7b00ccc76f4a055dd761c929c23b014b214c4f5
s4:kdc: Split samba_kdc_get_pac_blobs() into smaller functions

Instead of having one large function that returns every PAC blob, we now
have a more manageable assortment of smaller functions that each return
one blob.

That gives us more fine-grained handling of PAC blobs, with callers now
able to procure only the specific blobs that they need.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/kdc/mit_samba.c
source4/kdc/pac-glue.c
source4/kdc/pac-glue.h
source4/kdc/wdc-samba4.c