Yiannis Mavroukakis wrote:
Or maybe there is!..Almost a result, I am doing this now,

 List<Modification> modItems = ServerEntryUtils.toServerModification(
                               ldifEntry.getModificationItemsArray( ) ,
directoryService.getRegistries( ).getAttributeTypeRegistry( ) ); modOp.modify( ldifEntry.getDn( ) , modItems ,clusterBypass );

Modification: replace
, attribute : entryCSN: '0x32 0x30 0x30 0x39 0x30 0x33 0x31 0x31 0x31 0x37 0x33 0x31 0x33 0x31 0x2E 0x30 ...'

It now blows up with the following exception,

javax.naming.NoPermissionException: Cannot modify the attribute 'entryCSN']

Why is it not possible to modify this? Is this a per-server unique value? And if so I assume it won't hurt if I don't include it in the Modification List in ldifEntry?
It's an operational Attribute. Only the server can modify it.

--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


Reply via email to