get current ldap connection from directory