1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

s4:kdc: Explicitly set plugin minor version

This is an adaptation to Heimdal:

commit 7cc4b7a9e624f5eecfbb38607d4cc0870a895671
Author: Luke Howard <lukeh@padl.com>
Date:   Wed Jan 5 13:08:11 2022 +1100

    kdc: KDC plugin API contract notes

    Add some notes about the KDC plugin API contract, and require plugins to
    explicitly indicate which version of the API they support (remove the macro
    alias for the current version).

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>
This commit is contained in:
Joseph Sutton 2022-02-22 15:56:32 +13:00 committed by Joseph Sutton
parent b9f4ea8bdb
commit 675f913e54

View File

@ -960,7 +960,7 @@ static krb5_error_code samba_wdc_referral_policy(void *priv,
}
struct krb5plugin_kdc_ftable kdc_plugin_table = {
.minor_version = KRB5_KDC_PLUGIN_MINOR,
.minor_version = KRB5_PLUGIN_KDC_VERSION_8,
.init = samba_wdc_plugin_init,
.fini = samba_wdc_plugin_fini,
.pac_verify = samba_wdc_reget_pac,