diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-04-06 09:10:13 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-04-06 12:34:58 +1000 |
commit | 0415a5736e7e68f076fcf63dc16a7d33da4e569d (patch) | |
tree | 8f6ae4ead0ba4f3e93c6bdf3d9041aa88f39f561 /source3/librpc/crypto | |
parent | 747ebc118a5cff75e71341e1f39b8127e96e41cd (diff) | |
download | samba-0415a5736e7e68f076fcf63dc16a7d33da4e569d.tar.gz samba-0415a5736e7e68f076fcf63dc16a7d33da4e569d.tar.bz2 samba-0415a5736e7e68f076fcf63dc16a7d33da4e569d.zip |
s3-librpc Fix creation of in-memory keytab for previous password
We set the current password twice, rather than the current and old
password.
Andrew Bartlett
Diffstat (limited to 'source3/librpc/crypto')
-rw-r--r-- | source3/librpc/crypto/gse_krb5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/librpc/crypto/gse_krb5.c b/source3/librpc/crypto/gse_krb5.c index 735dff059e..830d517bc7 100644 --- a/source3/librpc/crypto/gse_krb5.c +++ b/source3/librpc/crypto/gse_krb5.c @@ -280,7 +280,7 @@ static krb5_error_code get_mem_keytab_from_secrets(krb5_context krbctx, goto out; } - pwd_old = secrets_fetch_machine_password(lp_workgroup(), NULL, NULL); + pwd_old = secrets_fetch_prev_machine_password(lp_workgroup()); if (!pwd_old) { DEBUG(10, (__location__ ": no prev machine password\n")); } else { |