LDAP attribute lookup fails due to query length limit