summaryrefslogtreecommitdiff
path: root/server/providers/ldap/ldap_id_enum.c
AgeCommit message (Collapse)AuthorFilesLines
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.