Get ldap connection