Merge sourceforge cvs mod_ldap.c code to github version

Update the github mod_ldap.c to reflect updates from sourceforge/cvs version.