// Update the referralManager. We have to read the entry again
// as it has been modified, before updating the ReferralManager
// TODO: this can be spare, as we already have the altered entry
// into the opContext, but for an unknow reason, this will fail
// on eferral tests...
LookupOperationContext lookupContext =
new LookupOperationContext( modifyContext.getSession(), dn, SchemaConstants.ALL_ATTRIBUTES_ARRAY );
Entry newEntry = nexus.lookup( lookupContext );
// Update the referralManager.
// Check that we have the entry, just in case