From: Stefan Metzmacher Date: Thu, 13 Mar 2025 01:59:22 +0000 (+0100) Subject: s4:kdc: adjust to HDB_INTERFACE_VERSION=12 X-Git-Tag: tevent-0.17.0~399 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7664b7a8738bc065339b788552e2d843605911ac;p=thirdparty%2Fsamba.git s4:kdc: adjust to HDB_INTERFACE_VERSION=12 Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme --- diff --git a/source4/kdc/hdb-samba4-plugin.c b/source4/kdc/hdb-samba4-plugin.c index be6d2437d0e..c57a8f6acd9 100644 --- a/source4/kdc/hdb-samba4-plugin.c +++ b/source4/kdc/hdb-samba4-plugin.c @@ -52,7 +52,7 @@ static krb5_error_code hdb_samba4_create(krb5_context context, struct HDB **db, return EINVAL; } -#if (HDB_INTERFACE_VERSION != 11) +#if (HDB_INTERFACE_VERSION != 12) #error "Unsupported Heimdal HDB version" #endif diff --git a/source4/kdc/hdb-samba4.c b/source4/kdc/hdb-samba4.c index f09333308c7..71a54da5a65 100644 --- a/source4/kdc/hdb-samba4.c +++ b/source4/kdc/hdb-samba4.c @@ -320,8 +320,10 @@ hdb_samba4_check_constrained_delegation(krb5_context context, HDB *db, static krb5_error_code hdb_samba4_check_rbcd(krb5_context context, HDB *db, const hdb_entry *client_krbtgt, + krb5_const_principal client_principal, const hdb_entry *client, const hdb_entry *device_krbtgt, + krb5_const_principal device_principal, const hdb_entry *device, krb5_const_principal server_principal, krb5_const_pac header_pac,