git.samba.org
/
abartlet
/
lorikeet-heimdal.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d186f2e
)
(change): use the right password when changing the password
author
Love Hörnquist Åstrand
<lha@kth.se>
Sun, 25 Jan 2004 18:24:36 +0000
(18:24 +0000)
committer
Love Hörnquist Åstrand
<lha@kth.se>
Sun, 25 Jan 2004 18:24:36 +0000
(18:24 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13284
ec53bebd
-3082-4978-b11e-
865c3cabbd6b
kpasswd/kpasswdd.c
patch
|
blob
|
history
diff --git
a/kpasswd/kpasswdd.c
b/kpasswd/kpasswdd.c
index 7d205cc4da23486f550a7cca90324683b411ccd4..c3be973c9bcc5fe2ab1db11913bc7a7c6a741e9d 100644
(file)
--- a/
kpasswd/kpasswdd.c
+++ b/
kpasswd/kpasswdd.c
@@
-220,7
+220,7
@@
change (krb5_auth_context auth_context,
memset(&chpw, 0, sizeof(chpw));
if (version == KRB5_KPASSWD_VERS_CHANGEPW) {
- ret = krb5_copy_data(context,
&chpw.newpasswd
, &pwd_data);
+ ret = krb5_copy_data(context,
in_data
, &pwd_data);
if (ret) {
krb5_warn (context, ret, "krb5_copy_data");
reply_priv (auth_context, s, sa, sa_size, KRB5_KPASSWD_MALFORMED,