]> git.ipfire.org Git - thirdparty/samba.git/commit
s4:kdc: split out samba_kdc_fill_trust_keys() helper
authorStefan Metzmacher <metze@samba.org>
Fri, 15 Mar 2024 18:19:20 +0000 (19:19 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 May 2024 03:04:34 +0000 (03:04 +0000)
commit6ecc607edeeeb1877b5ecf02ba60d6c8799f583a
tree2c1e4c0ecce988307038bef7420709391a7b4b73
parentf5c8c212dcba48167d8ae8c555a5c4750cb763fd
s4:kdc: split out samba_kdc_fill_trust_keys() helper

This simplifies the logic in samba_kdc_trust_message2entry(),
is very similar to our samba_kdc_fill_user_keys() helper
and will make it trivial to provide the previous keys
in entry->old_keys in the next commit.

Review with: git show -p --patience

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/kdc/db-glue.c