summaryrefslogtreecommitdiffstats
path: root/src/providers/dp_backend.h
Commit message (Collapse)AuthorAgeFilesLines
* Run checks before resetting offline stateSumit Bose2010-12-011-0/+3
| | | | | | | | | | | | 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.
* Allow protocol fallback for SRV queriesJakub Hrozek2010-12-011-2/+8
| | | | https://fedorahosted.org/sssd/ticket/691
* Add an interface to try next fail-over server after connection to the active ↵eindenbom2010-07-091-0/+6
| | | | server was unexpectedly dropped.
* Added an interface to query number of configured (and currently resolved ↵eindenbom2010-07-091-0/+1
| | | | through SRV records) failover servers.
* Add dns_discovery_domain optionJakub Hrozek2010-06-301-1/+2
| | | | | | | | | | | | The service discovery used to use the SSSD domain name to perform DNS queries. This is not an optimal solution, for example from the point of view of authconfig. This patch introduces a new option "dns_discovery_domain" that allows to set the domain part of a DNS SRV query. If this option is not set, the default behavior is to use the domain part of the machine's hostname. Fixes: #479
* Add run_callbacks flagSumit Bose2010-05-271-0/+2
|
* Add offline callbacksSumit Bose2010-05-271-1/+9
|
* Refactor data provider callbacksSumit Bose2010-05-271-5/+5
|
* Use service discovery in backendsJakub Hrozek2010-05-071-0/+9
| | | | | | | | | 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.
* Add callback when the ID provider switches from offline to onlineStephen Gallagher2010-05-071-0/+17
| | | | | | | | Allow backends to set a callback in the be_ctx that should be invoked when the ID provider goes online. This can be used to perform regular maintenance tasks that are valid only when going online.
* Better handle sdap_handle memory from callers.Simo Sorce2010-05-031-0/+4
| | | | | | | | | | | | | Always just mark the sdap_handle as not connected and let later _send() functions to take care of freeing the handle before reconnecting. Introduce restart functions to avoid calling _send() functions in _done() functions error paths as this would have the same effect as directly freeing the sdap_handle and cause access to freed memory in sdap_handle_release() By freeing sdap_handle only in the connection _recv() function we guarantee it can never be done within sdap_handle_release() but only in a following event.
* Rename server/ directory to src/Stephen Gallagher2010-02-181-0/+142
Also update BUILD.txt