From bcd479a756450b34f25612961f68d7e01c717de4 Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Mon, 6 May 1996 16:22:15 +0000 Subject: [PATCH] The fallback to slave kdc's wasn't working because the code did not handle the error return "KRB524_NOTRESP". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7906 dc483132-0cff-0310-8789-dd5450dbe970 --- src/krb524/ChangeLog | 6 ++++++ src/krb524/conv_creds.c | 1 + 2 files changed, 7 insertions(+) diff --git a/src/krb524/ChangeLog b/src/krb524/ChangeLog index 675edb3e3..d04bec8a8 100644 --- a/src/krb524/ChangeLog +++ b/src/krb524/ChangeLog @@ -1,3 +1,9 @@ +Mon May 6 12:09:44 1996 Richard Basch + + * conv_creds.c: Fallback to slave kdc's wasn't working; it was not + handling the error code KRB524_NOTRESP as an indicator that + the kdc is unreachable. + Sun Mar 31 01:17:26 1996 Mark Eichin * cnv_tkt_skey.c (krb524_convert_tkt_skey): use context->clockskew diff --git a/src/krb524/conv_creds.c b/src/krb524/conv_creds.c index 5346f883d..093d4ece5 100644 --- a/src/krb524/conv_creds.c +++ b/src/krb524/conv_creds.c @@ -79,6 +79,7 @@ int krb524_convert_creds_kdc(context, v5creds, v4creds) case ETIMEDOUT: case EHOSTDOWN: case EHOSTUNREACH: + case KRB524_NOTRESP: continue; default: break; /* out of switch */ -- 2.26.2