LDAP cache code crashes in util_ldap_search_node_copy (file util_ldap_cache.c)if the bindpw in cache node is NULL. This is because strdup() inside util_ald_strdup() will try to copy the NULL pointer. Note that the bindpw is normally not NULL when the cache is used with mod_auth_ldap but I have made enhancements to ldap authorization that create cache entries with bindpw unset. The attached patch fixes this problem.
Created attachment 11162 [details] Proposed patch
Fix committed to v2.1.0-dev, waiting for backport.
Fixed in v2.0.50-dev.