summaryrefslogtreecommitdiffstats
path: root/server/providers/ldap/ldap_child.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix ldap child memory hierarchy and other issuesSimo Sorce2009-12-181-28/+36
| | | | | | | | | | | | | | | | | The timeout handler was not a child of the request so it could fire even though the request was already freed. The code wouldn't use async writes to the children so it could incur in a short write with no way to detect or recover from it. Also fixed style of some helper functions to pass explicit paramters instead of a general structure. Add common code to do async writes to pipes. Fixed async write issue for the krb5_child as well. Fix also sdap_kinit_done(), a return statement was missing and we were mixing SDAP_AUTH and errno return codes in state->result Remove usless helper function that just replicates talloc_strndup()
* Get TGT in a child process.Jakub Hrozek2009-11-251-0/+432
To avoid blocking in a synchronous call, the TGT is saved in a separate process Fixes: #277