summaryrefslogtreecommitdiff
path: root/src/providers/fail_over.h
AgeCommit message (Collapse)AuthorFilesLines
2010-12-01Run checks before resetting offline stateSumit Bose1-0/+1
Before setting the backend to online during a reset offline request the check_online method if the ID provider is called. If the check_online method returns that the ID provider is still not reachable the backend stays offline. Otherwise the backend is switched to online and the related callbacks are run. Additionally the check online test is called during the res_init request because a change in /etc/resolve.conf might also make a server reachable which was assumed offline before.
2010-07-09Add an interface to try next fail-over server after connection to the active ↵eindenbom1-0/+6
server was unexpectedly dropped.
2010-07-09Added an interface to query number of configured (and currently resolved ↵eindenbom1-0/+5
through SRV records) failover servers.
2010-05-07Use service discovery in backendsJakub Hrozek1-0/+2
Integrate the failover improvements with our back ends. The DNS domain used in the SRV query is always the SSSD domain name. Please note that this patch changes the default value of ldap_uri from "ldap://localhost" to "NULL" in order to use service discovery with no server set.
2010-04-30Support SRV servers in failoverJakub Hrozek1-0/+14
Adds a new failover API call fo_add_srv_server that allows the caller to specify a server that is later resolved into a list of specific servers using SRV requests. Also adds a new failover option that specifies how often should the servers resolved from SRV query considered valid until we need a refresh. The "real" servers to connect to are returned to the user as usual, using the fo_resolve_service_{send,recv} calls. Make SRV resolution work with c-ares 1.6
2010-02-22Restrict family lookupsJakub Hrozek1-3/+19
Adds a new option that tells resolver which address family to prefer or use exclusively. Fixes: #404
2010-02-18Fix licensing issues in SSSDStephen Gallagher1-0/+24
2010-02-18Rename server/ directory to src/Stephen Gallagher1-0/+108
Also update BUILD.txt