From fd446e6bf9d90b052946aa3eec3d535b25137ab8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrez...@redhat.com> Date: Thu, 13 Jun 2013 10:32:31 +0200 Subject: [PATCH] failover: set state->out when meta server remains in SRV_RESOLVE_ERROR
https://fedorahosted.org/sssd/ticket/1886 --- src/providers/fail_over.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/providers/fail_over.c b/src/providers/fail_over.c index 12b6c37828b7da0e68579bbb94668c21574974f1..1d2813589495ebb2ff56e93cddaed9d5172e128e 100644 --- a/src/providers/fail_over.c +++ b/src/providers/fail_over.c @@ -1207,6 +1207,7 @@ resolve_srv_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, break; case SRV_RESOLVE_ERROR: /* query could not be resolved but don't retry yet */ ret = EIO; + state->out = server; goto done; case SRV_RESOLVED: /* The query is resolved and valid. Return. */ state->out = server; -- 1.7.11.7
_______________________________________________ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/sssd-devel