1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/third_party
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
..
aesni-intel lib:crypto: Build intel aes-ni only if GnuTLS doesn't provide AES CMAC 2019-12-10 20:30:57 +00:00
cmocka third_party:cmocka: Fix build when used in lib/tevent 2021-07-07 05:07:30 +00:00
gpfs third_party: Update gpfs.h to 5.0.5.3 version 2020-10-05 20:06:04 +00:00
heimdal third_party/heimdal: import lorikeet-heimdal-202203010107 (commit 0e7a12404c388e831fe6933fcc3c86e7eb334825) 2022-03-01 22:34:34 +00:00
heimdal_build s4:kdc: Adapt to hdb_entry_ex removal 2022-03-01 22:34:35 +00:00
nss_wrapper third_party: Update nss_wrapper to version 1.1.11 2020-04-06 17:34:53 +00:00
pam_wrapper third_party: Update pam_wrapper to version 1.1.4 2021-10-28 19:03:04 +00:00
popt third_party/popt/wscript: update to handle waf 2.0.4 2018-09-05 06:37:24 +02:00
resolv_wrapper waf: Fix resolv_wrapper with glibc 2.34 2021-11-05 11:44:30 +00:00
socket_wrapper third_party: Update socket_wrapper to version 1.3.3 2021-03-17 23:53:04 +00:00
uid_wrapper third_party: Link uid_wrapper against pthread 2019-09-25 15:39:40 +00:00
waf third_party: Update waf to verison 2.0.23 2022-02-21 10:06:27 +00:00
update.sh third_party/update: forget pep8 2021-11-19 13:25:16 +00:00
wscript Remove pyiso8601 from third_party 2020-08-20 22:49:26 +00:00