Support ldap on Windows