s4:kdc: let sdb_entry have a typed samba_kdc_entry pointer
commit2323f9d2e23fd017884c68002fa376d27ac9074e
authorStefan Metzmacher <metze@samba.org>
Tue, 22 Mar 2022 15:35:58 +0000 (22 16:35 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 24 Mar 2022 09:19:33 +0000 (24 09:19 +0000)
tree8ed75482d830e91657e5acac14c0a45bb2352571
parent732d9ceedc2a6701c8006cda15ecb315806a5ca7
s4:kdc: let sdb_entry have a typed samba_kdc_entry pointer

Both layers are owned by us so there's no need for an void
pointer.

This simplifies the code a lot and allows further cleanups.
Eventually we can remove sdb_entry_ex and only use sdb_entry,
as Heimdal also removed hdb_entry_ex.

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