]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4-auth/kerberos: Remove unused paremters to create_keytab()
authorAndrew Bartlett <abartlet@samba.org>
Tue, 19 Dec 2023 21:40:07 +0000 (10:40 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Mar 2024 22:06:39 +0000 (22:06 +0000)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jo Sutton <josutton@catalyst.net.nz>
source4/auth/kerberos/srv_keytab.c

index 8eaa1508a3a6b67d932e3ee0a7ff5af023786600..7b28c37a5c6360b88ac4dbaeb15496c117e346bf 100644 (file)
@@ -115,8 +115,6 @@ static krb5_error_code keytab_add_keys(TALLOC_CTX *parent_ctx,
 }
 
 static krb5_error_code create_keytab(TALLOC_CTX *parent_ctx,
-                                    const char *samAccountName,
-                                    const char *realm,
                                     const char *saltPrincipal,
                                     int kvno,
                                     const char *new_secret,
@@ -317,7 +315,7 @@ krb5_error_code smb_krb5_update_keytab(TALLOC_CTX *parent_ctx,
                }
 
                ret = create_keytab(tmp_ctx,
-                                   samAccountName, upper_realm, saltPrincipal,
+                                   saltPrincipal,
                                    kvno, new_secret, old_secret,
                                    supp_enctypes,
                                    num_principals,