]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:kdc: remove unused principal argument to samba_kdc_trust_message2entry()
authorStefan Metzmacher <metze@samba.org>
Thu, 3 Feb 2022 13:12:02 +0000 (14:12 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 24 Mar 2022 09:19:33 +0000 (09:19 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/kdc/db-glue.c

index 26a1bb271c1d901f002c11f13af03e2c3a7ca048..dfe9308e9fd0fb8d6a494fd94f05f2039c385f99 100644 (file)
@@ -1337,7 +1337,7 @@ out:
  */
 static krb5_error_code samba_kdc_trust_message2entry(krb5_context context,
                                               struct samba_kdc_db_context *kdc_db_ctx,
-                                              TALLOC_CTX *mem_ctx, krb5_const_principal principal,
+                                              TALLOC_CTX *mem_ctx,
                                               enum trust_direction direction,
                                               struct ldb_dn *realm_dn,
                                               unsigned flags,
@@ -2064,7 +2064,7 @@ static krb5_error_code samba_kdc_fetch_krbtgt(krb5_context context,
                }
 
                ret = samba_kdc_trust_message2entry(context, kdc_db_ctx, mem_ctx,
-                                                   principal, direction,
+                                                   direction,
                                                    realm_dn, flags, kvno, msg, entry_ex);
                if (ret != 0) {
                        krb5_warnx(context, "samba_kdc_fetch: trust_message2entry failed for %s",