Issue #58 has been updated by Jonathan Clarke. Status changed from New to Closed Assigned to set to Jonathan Clarke Target version changed from 1.1.1 to 1.1.0
OK, I did actually find this in the end. Turns out it was rather simple: you just need a ModificationItem set to REMOVE_ATTRIBUTE, with an Attribute object with no values... Anyway, it works as of revision #242. Tomorrow's SNAPSHOT will solve this. ---------------------------------------- Bug #58: Error modifying/deleting some attribute http://tools.lsc-project.org/issues/show/58 Author: J?r?me Schell Status: Closed Priority: Normal Assigned to: Jonathan Clarke Category: Core Target version: 1.1.0 When trying to delete/modify the jpegPhoto attribute in LDAP, I get this exception: <pre> Error while modifying directory on entry uid=marcel.bidon,ou=people / [Replace attribute: supannEtuID: 1116, Remove attribute: jpegPhoto: [B at 7080ed90, Replace attribute: sn: Bidon, Replace attribute: cn: Marcel Bidon, Remove attribute: birthDate: 1986-12-29, Replace attribute: displayName: Marcel Bidon] javax.naming.directory.InvalidSearchFilterException: [LDAP: error code 18 - modify/delete: jpegPhoto: no equality matching rule]; remaining name 'uid=marcel.bidon,ou=people' at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3018) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2960) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2767) at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapCtx.java:1450) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(ComponentDirContext.java:255) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:172) at javax.naming.directory.InitialDirContext.modifyAttributes(InitialDirContext.java:153) at org.lsc.jndi.JndiServices.apply(JndiServices.java:519) at org.lsc.AbstractSynchronize.synchronize2Ldap(AbstractSynchronize.java:416) at org.lsc.SimpleSynchronize.launchTask(SimpleSynchronize.java:291) at org.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:179) at org.lsc.Launcher.run(Launcher.java:128) at org.lsc.Launcher.main(Launcher.java:111) Erreur rencontr?e sur l'identifiant marcel.bidon: </pre> This "thread":http://www.openldap.org/lists/openldap-software/200305/msg00520.html gives some hint about that but I don't really know how to implement this in Java. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://tools.lsc-project.org/my/account -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lsc-project.org/pipermail/lsc-dev/attachments/20090603/bf88c506/attachment.htm>

