STABLE14-aklog-deal-with-feeble-kdcs-20060829

i guess i should just give up and fix this here


(cherry picked from commit 90b79e93e81a8a20c0b6e9dc9d279dc073517ee7)
This commit is contained in:
Derrick Brashear 2006-08-29 20:19:05 +00:00
parent e384fe098f
commit c131a443f2

View File

@ -570,7 +570,7 @@ static int auth_to_cell(krb5_context context, char *cell, char *realm)
status = get_credv5(context, name, primary_instance, realm_of_cell,
&v5cred);
if (status == KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN) {
if (status == KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN || status == KRB5KRB_ERR_GENERIC) {
if (try_secondary) {
if (dflag) {
printf("Principal not found, trying alternate "