summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-08-06 18:05:56 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-08-07 18:56:24 +0200
commit2ed0dc0bbe1335153339cc05fac7f6bfed12c86b (patch)
treec398a148194d395127851607d6041555d1a2d72c
parentc01f015106b6e238d918ba4574f60bee811517ec (diff)
downloadsssd-2ed0dc0bbe1335153339cc05fac7f6bfed12c86b.tar.gz
sssd-2ed0dc0bbe1335153339cc05fac7f6bfed12c86b.tar.xz
sssd-2ed0dc0bbe1335153339cc05fac7f6bfed12c86b.zip
Always mark SRV servers as primary
https://fedorahosted.org/sssd/ticket/1459
-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 7fed7cce1..faff32f77 100644
--- a/src/providers/fail_over.c
+++ b/src/providers/fail_over.c
@@ -542,6 +542,7 @@ fo_add_srv_server(struct fo_service *service, const char *srv,
server->user_data = user_data;
server->service = service;
server->port_status = DEFAULT_PORT_STATUS;
+ server->primary = true; /* SRV servers are never back up */
/* add the SRV-specific data */
server->srv_data = talloc_zero(service, struct srv_data);