]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:kdc: adjust to HDB_INTERFACE_VERSION=12
authorStefan Metzmacher <metze@samba.org>
Thu, 13 Mar 2025 01:59:22 +0000 (02:59 +0100)
committerRalph Boehme <slow@samba.org>
Thu, 3 Apr 2025 09:36:31 +0000 (09:36 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source4/kdc/hdb-samba4-plugin.c
source4/kdc/hdb-samba4.c

index be6d2437d0ef913207823423b53336c101dd3e4b..c57a8f6acd99d64dafe45bc62bfcae2eaf119dfa 100644 (file)
@@ -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
 
index f09333308c774fa9261d6b789f77b1a4d4fe4aba..71a54da5a6526b08c0bf8a384ceb3b895d565b5a 100644 (file)
@@ -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,