summaryrefslogtreecommitdiff
path: root/server/providers/ldap/ldap_id_enum.c
AgeCommit message (Collapse)AuthorFilesLines
2010-02-18Rename server/ directory to src/Stephen Gallagher1-608/+0
Also update BUILD.txt
2009-12-07Try to renew Kerberos credentialsSumit Bose1-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.
2009-11-20Add initial failover support for ldap and ipaSimo Sorce1-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.
2009-11-20Better behavior on cleanupSimo Sorce1-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.
2009-11-10Add cleanup taskSimo Sorce1-29/+60
2009-11-09Fix tevent_req error checking.Simo Sorce1-1/+7
When possible using a macro that correctly deals with tstate
2009-11-06Reorganize ldap id provider filesSimo Sorce1-0/+529
Split enum task in a separate file.