// We are going to delete all other existing attributes with options. But to do that, we need to read the entry first.
// Question: how to query only for a single attribute, but with all the options? something like description;*
// For now just query for everything.
EntryexistingEntry=searchSingleEntry(connectionManager,dn,null,SearchScope.OBJECT,null/* see above */,
"pre-read of entry to eliminate extra optioned attribute values for attribute "+ldapAttributeType.getName(),null);
LOG.ok("Pre-read entry for {0}:\n{1}",ldapAttributeType.getName(),existingEntry);
if(existingEntry==null){
// Strange. We are going to modify something that is not there?
thrownewUnknownUidException("Cannot pre-read of entry to eliminate extra optioned attribute values for attribute "+ldapAttributeType.getName()+": "+dn);