From 2db23c67f1bba5f573e6109ca46c8f63659a9ac4 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Sun, 22 Sep 2013 18:24:43 +0200 Subject: KRB5: Return ERR_NETWORK_IO when trusted AD server can't be resolved --- src/providers/krb5/krb5_child.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c index 032f5020..16ab4dbb 100644 --- a/src/providers/krb5/krb5_child.c +++ b/src/providers/krb5/krb5_child.c @@ -988,6 +988,7 @@ static errno_t map_krb5_error(krb5_error_code kerr) return ERR_NO_CREDS; case KRB5_KDC_UNREACH: + case KRB5_REALM_CANT_RESOLVE: return ERR_NETWORK_IO; case KRB5KDC_ERR_KEY_EXP: -- cgit