support ldap in apr2