equalityFilters.add(SearchFilter.createEqualityFilter(t, value));
}
filter = SearchFilter.createORFilter(equalityFilters);
}
InternalClientConnection conn =
InternalClientConnection.getRootConnection();
for (DN baseDN : baseDNs)
{
InternalSearchOperation searchOperation =
conn.processSearch(baseDN, SearchScope.WHOLE_SUBTREE,
DereferencePolicy.NEVER_DEREF_ALIASES, 2, 0,
false, filter, SEARCH_ATTRS);
for (SearchResultEntry e : searchOperation.getSearchEntries())
{
if (! e.getDN().equals(targetDN))