summaryrefslogtreecommitdiffstats
path: root/server/providers/ldap/ldap_id_enum.c
Commit message (Collapse)AuthorAgeFilesLines
* Try to renew Kerberos credentialsSumit Bose2009-12-071-1/+17
| | | | | | | | When using GSSAPI we need a valid service ticket to talk to the LDAP server. If the ticket is expired the LDAP client returns with 'Can't contact LDAP server'. Currently we set the backend offline if this error occurs although the server is still available. This patch checks if the TGT is expired and tries to renew the credentials before going offline.
* Add initial failover support for ldap and ipaSimo Sorce2009-11-201-2/+6
| | | | | | | The retun values are still not directly used with ldap libraries that still do their own name resolution, but this patch introduces a very basic framework to have a multiple providers in one domain use and share a single failover service if they want to.
* Better behavior on cleanupSimo Sorce2009-11-201-15/+37
| | | | | | | | | | | | With the previous code in domains with many users and enumeration enable we would eventually end up making thousands of individual searches for entries in the clean-up process. Change the code to do a full enumeration before a cleanup so we do one single big search to update all entries and only then search for entries to purge. This also fixes the fact that the cleanup task was running at every enumeration instead of running every "ldap_purge_cache_timeout" seconds.
* Add cleanup taskSimo Sorce2009-11-101-29/+60
|
* Fix tevent_req error checking.Simo Sorce2009-11-091-1/+7
| | | | When possible using a macro that correctly deals with tstate
* Reorganize ldap id provider filesSimo Sorce2009-11-061-0/+529
Split enum task in a separate file.