timelimit = 32767;
} else {
timelimit = pTimeLimit;
}
LDAPSearchConstraints constraints = new LDAPSearchConstraints();
constraints.setMaxResults(pSizeLimit);
constraints.setServerTimeLimit(timelimit);
constraints.setDereference(0); // UDS does not support Dereference of Aliases set to no
StringBuilder filter = new StringBuilder();
filter.append(pFilter.getAttributeValueDesc());
filter.append("=");
if (pFilter.getType() == LDAP.Constants.LDAP_FILTER_PRESENT) {