summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-09-22 18:24:43 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-27 12:51:40 +0200
commit2db23c67f1bba5f573e6109ca46c8f63659a9ac4 (patch)
tree54500b7e0c970aeda389f6483d25073234cf2a8a
parentce29aa8998332fd3c2e4e4b81e7302d41c461893 (diff)
downloadsssd-2db23c67f1bba5f573e6109ca46c8f63659a9ac4.tar.gz
sssd-2db23c67f1bba5f573e6109ca46c8f63659a9ac4.tar.bz2
sssd-2db23c67f1bba5f573e6109ca46c8f63659a9ac4.zip
KRB5: Return ERR_NETWORK_IO when trusted AD server can't be resolved
-rw-r--r--src/providers/krb5/krb5_child.c1
1 files changed, 1 insertions, 0 deletions
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: