ManageDsaIT

Request that the server return referrals as regular entries. See RFC 3296.

Connection conn = DefaultConnectionFactory.getConnection("ldap://directory.ldaptive.org");
try {
conn.open();
SearchOperation search = new SearchOperation(conn);
SearchRequest request = new SearchRequest("dc=ldaptive,dc=org","(givenName=d*)", "cn", "sn");
request.setControls(new ManageDsaITControl());
SearchResult result = search.execute(request).getResult();
for (LdapEntry entry : result.getEntries()) {
// do something useful with the entry
}

} finally {
conn.close();
}

Provider Support

JNDI JLDAP Apache LDAP UnboundID OpenDJ
Functionality exists in the provider API and has been confirmed
Functionality does not exist in the provider API
Functionality exists in the provider API, but did not work in our test environment
? Functionality exists in the provider API, but has not been integrated into the ldaptive provider