27 lines
976 B
Diff
27 lines
976 B
Diff
|
From d3b39cf07164b23d47bbce3d6e6541b13fc895f5 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina@redhat.com>
|
||
|
Date: Thu, 13 Jun 2013 10:32:31 +0200
|
||
|
Subject: [PATCH 07/12] 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.8.2.1
|
||
|
|