(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
This commit is contained in:
@@ -310,8 +310,6 @@ krb5_change_password (krb5_context context,
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
if (ret == 1) {
|
if (ret == 1) {
|
||||||
replied = 1;
|
|
||||||
|
|
||||||
ret = process_reply (context,
|
ret = process_reply (context,
|
||||||
auth_context,
|
auth_context,
|
||||||
sock,
|
sock,
|
||||||
@@ -320,6 +318,8 @@ krb5_change_password (krb5_context context,
|
|||||||
result_string);
|
result_string);
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
done = 1;
|
done = 1;
|
||||||
|
else if (i > 0 && ret == KRB5KRB_AP_ERR_MUT_FAIL)
|
||||||
|
replied = 1;
|
||||||
} else {
|
} else {
|
||||||
ret = KRB5_KDC_UNREACH;
|
ret = KRB5_KDC_UNREACH;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user