fix resolution of ldap_url