String modifiedTime = DateUtils.getGeneralizedTime();
ModifyRequest modifyRequest = new ModifyRequestImpl();
modifyRequest.setName( dn );
modifyRequest.replace( SchemaConstants.MODIFIERS_NAME_AT, modifierName );
modifyRequest.replace( SchemaConstants.MODIFY_TIMESTAMP_AT, modifiedTime );
ModifyResponse modResp = connection.modify( modifyRequest );
assertEquals( ResultCodeEnum.SUCCESS, modResp.getLdapResult().getResultCode() );
Entry loadedEntry = connection.lookup( dn.getName(), "+" );