]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:auth: Update error messages
authorJo Sutton <josutton@catalyst.net.nz>
Mon, 11 Mar 2024 22:08:30 +0000 (11:08 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 21 Mar 2024 03:12:33 +0000 (03:12 +0000)
Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/auth/kerberos/srv_keytab.c

index a0c68e28c886b645965cfd1574298e04a927922e..4d5306d9002c3cd90f01b747150e1fd208699251 100644 (file)
@@ -173,7 +173,7 @@ static krb5_error_code smb_krb5_fill_keytab(TALLOC_CTX *parent_ctx,
        mem_ctx = talloc_new(parent_ctx);
        if (!mem_ctx) {
                *perror_string = talloc_strdup(parent_ctx,
-                       "unable to allocate tmp_ctx for create_keytab");
+                       "unable to allocate tmp_ctx for smb_krb5_fill_keytab");
                return ENOMEM;
        }
 
@@ -191,7 +191,7 @@ static krb5_error_code smb_krb5_fill_keytab(TALLOC_CTX *parent_ctx,
        ret = ms_suptypes_to_ietf_enctypes(mem_ctx, supp_enctypes, &enctypes);
        if (ret) {
                *perror_string = talloc_asprintf(parent_ctx,
-                                       "create_keytab: generating list of "
+                                       "smb_krb5_fill_keytab: generating list of "
                                        "encryption types failed (%s)\n",
                                        smb_get_krb5_error_message(context,
                                                                ret, mem_ctx));