diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2012-06-04 12:06:53 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-08-01 16:19:41 +0200 |
commit | bbd33e46aa6194c1086939f7cf8538c067186455 (patch) | |
tree | ad91dc6f2042491e3728d096d7571f7e3b13e73a /src/providers/krb5 | |
parent | 75ee7925a9e289bc24f0ce8a7988cca926b71513 (diff) | |
download | sssd-bbd33e46aa6194c1086939f7cf8538c067186455.tar.gz sssd-bbd33e46aa6194c1086939f7cf8538c067186455.tar.bz2 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/krb5')
-rw-r--r-- | src/providers/krb5/krb5_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_common.c b/src/providers/krb5/krb5_common.c index e0682701..19fbd76e 100644 --- a/src/providers/krb5/krb5_common.c +++ b/src/providers/krb5/krb5_common.c @@ -586,7 +586,7 @@ int krb5_service_init(TALLOC_CTX *memctx, struct be_ctx *ctx, } ret = be_fo_add_server(ctx, service_name, server_spec, (int) port, - list[i]); + list[i], true); if (ret && ret != EEXIST) { DEBUG(0, ("Failed to add server\n")); goto done; |