summaryrefslogtreecommitdiff
path: root/server/providers/ldap/ldap_common.h
AgeCommit message (Collapse)AuthorFilesLines
2009-12-03Setup ldap child logging from IPA backendJakub Hrozek1-0/+3
Fixes: #296
2009-11-25Get TGT in a child process.Jakub Hrozek1-0/+3
To avoid blocking in a synchronous call, the TGT is saved in a separate process Fixes: #277
2009-11-23Add ldap_pwd_policy optionSumit Bose1-0/+4
2009-11-20Add initial failover support for ldap and ipaSimo Sorce1-1/+9
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-1/+3
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-3/+18
2009-11-06Reorganize ldap id provider filesSimo Sorce1-0/+7
Split enum task in a separate file.
2009-10-29Add support to get rootDSE from the LDAP server.Simo Sorce1-0/+3
Also fic sdap_get_generic_send() to be a bit more "generic" :-) Also figs bugs within it. This patch allow us 2 good things. A) we check that the server effectively supports GSSAPI auth before we try to use it. B) against IPA it substantially cuts delays when the server is offline because it uses a 5 second async timeout on the connection and doesn't try to do a slow synchronous kinit+sasl_bind if the server is not even available.
2009-10-16Move all ldap provider init functionsSimo Sorce1-0/+37
Put all init functions in their own file so that the other files can be reused in other providers w/o having them in the way.
2009-10-14Move ldap provider configuration into its own fileSimo Sorce1-0/+32