From 2a9eb0e77cb7110d05c57b8f0bbe98148e4bedc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 11 Aug 2005 14:04:17 +0000 Subject: [PATCH] Use krb5_set_password instead of krb5_change_password. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15899 ec53bebd-3082-4978-b11e-865c3cabbd6b --- kcm/acquire.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/kcm/acquire.c b/kcm/acquire.c index b92199e4b..576d2ba73 100644 --- a/kcm/acquire.c +++ b/kcm/acquire.c @@ -200,12 +200,13 @@ change_pw(krb5_context context, goto out; } - ret = krb5_change_password(context, - &cpw_cred, - newpw, - &result_code, - &result_code_string, - &result_string); + ret = krb5_set_password(context, + &cpw_cred, + newpw, + ccache->client, + &result_code, + &result_code_string, + &result_string); if (ret) { kcm_log(0, "Failed to change password for principal %s: %s", cpn, krb5_get_err_text(context, ret));