(change_password_loop): on failing to find a kdc, set result_code to
KRB5_KPASSWD_HARDERROR git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14440 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -643,10 +643,12 @@ change_password_loop (krb5_context context,
|
||||
if (done)
|
||||
return 0;
|
||||
else {
|
||||
if (ret == KRB5_KDC_UNREACH)
|
||||
if (ret == KRB5_KDC_UNREACH) {
|
||||
krb5_set_error_string(context,
|
||||
"unable to reach any changepw server "
|
||||
" in realm %s", realm);
|
||||
*result_code = KRB5_KPASSWD_HARDERROR;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user