summaryrefslogtreecommitdiff
path: root/server/providers/ldap/sdap_async.c
AgeCommit message (Collapse)AuthorFilesLines
2009-08-04Fix race condition in sdap codeSimo Sorce1-82/+163
Retrieving ldap results and storing users could sometimes results in race conditions where the final ldap result was retrieved before the store operations where finished resulting in the operations to be aborted before termination. Implement a serialization mechanism per operation.
2009-08-03Fix search replies getting ignoredSimo Sorce1-14/+12
2009-07-24Fix race condition that was causing segfaultsSimo Sorce1-80/+136
The sdap_handle might be freed when processing a message. Rearrange data flow so that the sdap_handle is never used after a message is processed but a new event (dependent on the handle) is instead scheduled. If the sdap_handle is freed, the scheduled event is also removed and not fired
2009-07-21added LDAP change password backend targetSumit Bose1-0/+134
2009-07-20Rework the engine that deals with openldap librariesSimo Sorce1-478/+367
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-08Implement the ldap identity module.Simo Sorce1-32/+435
This uses and exapands the async helpers.
2009-07-08Unify password caching ops in sysdbSimo Sorce1-97/+0
2009-07-08Add async helper functionsSimo Sorce1-0/+1446
These functions use the tevent_req async model, where a pair of _send/_recv functions pilot requests, with additional helpers like _done functions, and where needed multiple stage helpers.