1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/third_party/heimdal_build
Joseph Sutton 94d387abd5 s4:kdc: Adapt to hdb_entry_ex removal
Rather than having a 'free_entry' member that can be called to free an
hdb_entry, we now implement the free function in HDB. We perform the
free only if the context pointer is non-NULL.

We also remove the ZERO_STRUCTP() in sdb_entry_to_hdb_entry(), as the
context pointer is now part of the 'hdb_entry' structure itself, and
this would undesirably zero it out.

This is an adaptation to Heimdal commits:

commit c5551775e204d00c7ee8055ab6ddbba7e0590584
Author: Luke Howard <lukeh@padl.com>
Date:   Fri Jan 7 12:15:55 2022 +1100

    hdb: decorate HDB_entry with context member

    Decorate HDB_entry with context and move free_entry callback into HDB structure
    itself. Requires updating hdb_free_entry() signature to include HDB parameter.
    A follow-up commit will consolidate hdb_entry_ex (which has a single hdb_entry
    member) into hdb_entry.

commit 0e8c4ccc6ee0123ea39e53e8917fc3f6bb74e8c8
Author: Luke Howard <lukeh@padl.com>
Date:   Fri Jan 7 12:54:40 2022 +1100

    hdb: eliminate hdb_entry_ex

    Remove hdb_entry_ex and revert to the original design of hdb_entry (except with
    an additional context member in hdb_entry which is managed by the free_entry
    method in HDB).

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-03-01 22:34:35 +00:00
..
include
krb5 s4:kdc: Rename windc to kdc plugin 2022-03-01 22:34:34 +00:00
asn1_compile_wrapper.sh
asn1parse.h
config.h third_party/heimdal_build: Define fallthrough macro for switch statements 2022-03-01 22:34:34 +00:00
crypto-headers.h
et_compile_wrapper.sh
gssapi-glue.c
hdb-glue.c
ifaddrs.hin
kafs.h
krb5-glue.c
parse.h
perl_path_wrapper.sh
print_version.h
replace.c
roken.h
sel-gram.h
version.c
vis.h
wscript_build s4:kdc: Adapt to hdb_entry_ex removal 2022-03-01 22:34:35 +00:00
wscript_configure third_party/heimdal_build: Determine whether time_t is signed 2022-03-01 18:07:50 +00:00