From 057e1e2be48066a32859269a5ae78a8b332d9719 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Wed, 26 Jul 2000 11:31:06 +0000 Subject: [PATCH] (krb5_change_password): try to be more careful when not to resend git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8829 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/changepw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/krb5/changepw.c b/lib/krb5/changepw.c index 902a0ec3b..0c146edc9 100644 --- a/lib/krb5/changepw.c +++ b/lib/krb5/changepw.c @@ -310,8 +310,6 @@ krb5_change_password (krb5_context context, goto out; } if (ret == 1) { - replied = 1; - ret = process_reply (context, auth_context, sock, @@ -320,6 +318,8 @@ krb5_change_password (krb5_context context, result_string); if (ret == 0) done = 1; + else if (i > 0 && ret == KRB5KRB_AP_ERR_MUT_FAIL) + replied = 1; } else { ret = KRB5_KDC_UNREACH; }