1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

s4-auth: fixed a vagrind error when creating keytabs

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andrew Tridgell
2010-10-01 13:07:42 -07:00
parent 0111e80ea9
commit 0adc1645e2

View File

@ -530,6 +530,9 @@ static krb5_error_code keytab_add_keys(TALLOC_CTX *parent_ctx,
for (i=0; enctypes[i]; i++) {
krb5_keytab_entry entry;
ZERO_STRUCT(entry);
ret = create_kerberos_key_from_string(smb_krb5_context->krb5_context,
salt_princ, &password, &entry.keyblock, enctypes[i]);
if (ret != 0) {