summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-12-07 17:43:45 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-12-07 17:09:19 -0500
commita3ea95747b33de4b50485fb9b5c4e5c45338b3db (patch)
treec7c1164bd816771836510ab2549ba2ade5f0078c
parent85abff7f43e8006de2c2fa35612884d377b9a036 (diff)
downloadsssd-a3ea95747b33de4b50485fb9b5c4e5c45338b3db.tar.gz
sssd-a3ea95747b33de4b50485fb9b5c4e5c45338b3db.tar.xz
sssd-a3ea95747b33de4b50485fb9b5c4e5c45338b3db.zip
Mark unavailable Kerberos server as PORT_NOT_WORKING
-rw-r--r--src/providers/ldap/sdap_async_connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async_connection.c b/src/providers/ldap/sdap_async_connection.c
index 2ad9639d6..986a56c98 100644
--- a/src/providers/ldap/sdap_async_connection.c
+++ b/src/providers/ldap/sdap_async_connection.c
@@ -859,6 +859,7 @@ static void sdap_kinit_done(struct tevent_req *subreq)
return;
} else {
if (kerr == KRB5_KDC_UNREACH) {
+ fo_set_port_status(state->kdc_srv, PORT_NOT_WORKING);
nextreq = sdap_kinit_next_kdc(req);
if (!nextreq) {
tevent_req_error(req, ENOMEM);