The UniqueMemberComparator.compare() method is not properly implemented: it compares two {{DN}}s but only return 0 (if. they are equals) or -1 (if they aren't). That does not allow the server to browse an index properly. The result is that searching for entries using an index on this attributes is extremely likely to not work (unless being very lucky).