diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-10-01 13:07:42 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-10-01 13:08:23 -0700 |
commit | 0adc1645e23fedf52b10ed545eb9935df9ad7b6f (patch) | |
tree | 34d7d89ed51fab1b051878b5c937084b12cf9b55 | |
parent | 0111e80ea9f7a4d833771f349e5ce05025f7276c (diff) | |
download | samba-0adc1645e23fedf52b10ed545eb9935df9ad7b6f.tar.gz samba-0adc1645e23fedf52b10ed545eb9935df9ad7b6f.tar.bz2 samba-0adc1645e23fedf52b10ed545eb9935df9ad7b6f.zip |
s4-auth: fixed a vagrind error when creating keytabs
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | source4/auth/kerberos/kerberos_util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/auth/kerberos/kerberos_util.c b/source4/auth/kerberos/kerberos_util.c index 76edf0d05a..f83fd786c0 100644 --- a/source4/auth/kerberos/kerberos_util.c +++ b/source4/auth/kerberos/kerberos_util.c @@ -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) { |