From: Derrick Brashear Date: Tue, 29 Aug 2006 20:19:05 +0000 (+0000) Subject: STABLE14-aklog-deal-with-feeble-kdcs-20060829 X-Git-Tag: openafs-stable-1_4_2fc2~6 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c131a443f205f2c305dd36494404905ea7eb646d;p=packages%2Fo%2Fopenafs.git STABLE14-aklog-deal-with-feeble-kdcs-20060829 i guess i should just give up and fix this here (cherry picked from commit 90b79e93e81a8a20c0b6e9dc9d279dc073517ee7) --- diff --git a/src/aklog/aklog_main.c b/src/aklog/aklog_main.c index 344217cd2..33e181b60 100644 --- a/src/aklog/aklog_main.c +++ b/src/aklog/aklog_main.c @@ -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 "