summaryrefslogtreecommitdiff
path: root/server/providers/ldap/sdap_child_helpers.c
AgeCommit message (Collapse)AuthorFilesLines
2009-12-18Fix ldap child memory hierarchy and other issuesSimo Sorce1-164/+210
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()
2009-12-09Reduce code duplication between LDAP child and Kerberos childJakub Hrozek1-118/+7
Fixes: #294
2009-12-03Setup ldap child logging from IPA backendJakub Hrozek1-0/+44
Fixes: #296
2009-11-25Get TGT in a child process.Jakub Hrozek1-0/+500
To avoid blocking in a synchronous call, the TGT is saved in a separate process Fixes: #277