lib/krb5_wrap: Rename confusing add_salt parameter to smb_krb5_kt_add_entry()
[samba.git] / source3 / libads / kerberos_keytab.c
index 466211a8611eb873a0e52cb246d59240698a9c4d..9841c60f0d9081895d418f3f3790330862642896 100644 (file)
@@ -302,7 +302,7 @@ static int add_kt_entry_etypes(krb5_context context, TALLOC_CTX *tmpctx,
                                            salt_princ_s,
                                            enctypes[i],
                                            password,
-                                           false); /* no_salt */
+                                           false); /* needs string2key (hashing) */
                if (ret) {
                        DBG_WARNING("Failed to add entry to keytab\n");
                        goto out;
@@ -317,7 +317,7 @@ static int add_kt_entry_etypes(krb5_context context, TALLOC_CTX *tmpctx,
                                                    salt_princ_s,
                                                    enctypes[i],
                                                    password,
-                                                   false); /* no_salt */
+                                                   false); /* needs string2key (hashing) */
                        if (ret) {
                                DBG_WARNING("Failed to add short entry to keytab\n");
                                goto out;