1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +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>
(cherry picked from commit 675f913e54d8fddb9173c1e67b9d14885cc1d878)
This commit is contained in:
Joseph Sutton 2022-02-22 15:56:32 +13:00 committed by Jule Anger
parent 0918e692fa
commit 5493c1a5df

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,