If a password or other prompted value cannot be read, retrying with
the master KDC is confusing because it prompts again for the same
input.
ticket: 8381 (new)
/* If all the kdc's are unavailable, or if the error was due to a
user interrupt, fail */
- if ((ret == KRB5_KDC_UNREACH) ||
- (ret == KRB5_LIBOS_PWDINTR) ||
- (ret == KRB5_REALM_CANT_RESOLVE))
+ if (ret == KRB5_KDC_UNREACH || ret == KRB5_REALM_CANT_RESOLVE ||
+ ret == KRB5_LIBOS_PWDINTR || ret == KRB5_LIBOS_CANTREADPWD)
goto cleanup;
/* if the reply did not come from the master kdc, try again with