summaryrefslogtreecommitdiff
path: root/src/providers
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2013-06-13 10:32:31 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-06-14 13:39:08 +0200
commitd3b39cf07164b23d47bbce3d6e6541b13fc895f5 (patch)
treee6fbf599047604937bfde4441e050924bbf27202 /src/providers
parent1091c0ae2f1596ceb161e5b765a91c23c413b369 (diff)
downloadsssd-d3b39cf07164b23d47bbce3d6e6541b13fc895f5.tar.gz
sssd-d3b39cf07164b23d47bbce3d6e6541b13fc895f5.tar.bz2
sssd-d3b39cf07164b23d47bbce3d6e6541b13fc895f5.zip
failover: set state->out when meta server remains in SRV_RESOLVE_ERROR
https://fedorahosted.org/sssd/ticket/1886
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/fail_over.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/fail_over.c b/src/providers/fail_over.c
index 12b6c378..1d281358 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;