summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2012-06-04 12:06:53 -0400
committerJakub Hrozek <jhrozek@redhat.com>2012-08-01 16:19:41 +0200
commitbbd33e46aa6194c1086939f7cf8538c067186455 (patch)
treead91dc6f2042491e3728d096d7571f7e3b13e73a /src/providers/ipa
parent75ee7925a9e289bc24f0ce8a7988cca926b71513 (diff)
downloadsssd-bbd33e46aa6194c1086939f7cf8538c067186455.tar.gz
sssd-bbd33e46aa6194c1086939f7cf8538c067186455.tar.xz
sssd-bbd33e46aa6194c1086939f7cf8538c067186455.zip
Primary server support: basic support in failover code
Now there are two list of servers for each service. If currently selected server is only backup, then an event will be scheduled which tries to get connection to one of primary servers and if it succeeds, it starts using this server instead of the one which is currently connected to.
Diffstat (limited to 'src/providers/ipa')
-rw-r--r--src/providers/ipa/ipa_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_common.c b/src/providers/ipa/ipa_common.c
index 148a8b711..98a7c58f9 100644
--- a/src/providers/ipa/ipa_common.c
+++ b/src/providers/ipa/ipa_common.c
@@ -892,7 +892,7 @@ int ipa_service_init(TALLOC_CTX *memctx, struct be_ctx *ctx,
continue;
}
- ret = be_fo_add_server(ctx, "IPA", list[i], 0, NULL);
+ ret = be_fo_add_server(ctx, "IPA", list[i], 0, NULL, true);
if (ret && ret != EEXIST) {
DEBUG(0, ("Failed to add server\n"));
goto done;