summaryrefslogtreecommitdiff
path: root/server/providers/ldap/ldap_id.c
AgeCommit message (Collapse)AuthorFilesLines
2009-09-11Fix ldap enumeration async taskSimo Sorce1-12/+16
The request was being freed, instead of marking it done and let the callback free it when done. This was causing us to access freed memory, when trying to set the next run. Let the callback add new runs and free the request instead as normally we would do with any other tevent_req async call. Courtesy of valgrind again.
2009-09-10Fix Ldap id backend offline codeSimo Sorce1-6/+64
After the recent changes we lost the capability to actually go offline. Put back code that would mark the backend as offline when timeouts happen. Make sure the enumeration code also obbeys the offline timeout, and contributes in determining if we are offline or not.
2009-09-02Honor enumerate option in ldap_idSimo Sorce1-6/+9
If enumerations are disabled for this domain, then do not start the enumeration task.
2009-08-27Make enumeration an independent taskSimo Sorce1-42/+533
Always immediately return to DP, and update users/groups in the background. Also implements an optimization to retrieve only changed/new users/groups by filtering using the modifyTimestamp after the first query.
2009-08-27Use the correct structure.Simo Sorce1-2/+2
2009-08-19enable usage of defaultBindDnSumit Bose1-8/+27
2009-07-20Rework the engine that deals with openldap librariesSimo Sorce1-14/+13
The way openldap libraries work, require to have a single engine per connection as all replies are read at the same time. So we need to always read anything that comes in from the wire and then loop to dispatch results to the requests that are waiting.
2009-07-20add infrastructure to handle new backend targetsSumit Bose1-5/+5
2009-07-08Implement the ldap identity module.Simo Sorce1-646/+679
This uses and exapands the async helpers.
2009-05-18Split ldap backend into auth and identity filesSimo Sorce1-0/+786