getLdaps now performs a full query to the ldap and retrieves data