From 675f913e54d8fddb9173c1e67b9d14885cc1d878 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Tue, 22 Feb 2022 15:56:32 +1300 Subject: [PATCH] s4:kdc: Explicitly set plugin minor version This is an adaptation to Heimdal: commit 7cc4b7a9e624f5eecfbb38607d4cc0870a895671 Author: Luke Howard 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 Reviewed-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- source4/kdc/wdc-samba4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/kdc/wdc-samba4.c b/source4/kdc/wdc-samba4.c index f4ac075e2d4..3366726597e 100644 --- a/source4/kdc/wdc-samba4.c +++ b/source4/kdc/wdc-samba4.c @@ -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,