summaryrefslogtreecommitdiff
path: root/server/providers/child_common.c
AgeCommit message (Collapse)AuthorFilesLines
2009-12-18Fix ldap child memory hierarchy and other issuesSimo Sorce1-30/+119
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-0/+132
Fixes: #294
2009-11-25Split helpers for child processesJakub Hrozek1-0/+195
Moves several functions out of providers/krb5 hierarchy into a separate module so it can be shared by the ldap child.