> Hi Cl?ment,
>
> Cl?ment OUDOT a ?crit :
>> Hello,
>>
>> In my directory I have user accounts with child entries (for example
>> eSSO
>> stored accounts). And when using LSC and the clean otpion (-c all), I
>> raise an error :
>>
>> Error while modifying directory on entry uid=p0076,ou=users / null
>> javax.naming.ContextNotEmptyException: [LDAP: error code 66 -
>> subordinate
>> object                                              s must be deleted
>> first]; remaining name 'uid=p0076,ou=users'
>>         at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3020)
>>         at
>> com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931)
>>         at
>> com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2737)
>>         at
>> com.sun.jndi.ldap.LdapCtx.c_destroySubcontext(LdapCtx.java:826)
>>         at
>> com.sun.jndi.toolkit.ctx.ComponentContext.p_destroySubcontext(Compone
>>                                              ntContext.java:653)
>>         at
>> com.sun.jndi.toolkit.ctx.PartialCompositeContext.destroySubcontext(Pa
>>
>> rtialCompositeContext.java:336)
>>         at
>> javax.naming.InitialContext.destroySubcontext(InitialContext.java:419
>>                                              )
>>         at
>> org.interldap.lsc.jndi.JndiServices.apply(JndiServices.java:377)
>>         at
>> org.interldap.lsc.AbstractSynchronize.cleanLdap2Ldap(AbstractSynchron
>>                                              ize.java:216)
>>         at
>> org.interldap.lsc.SimpleSynchronize.launchCleanTask(SimpleSynchronize
>>                                              .java:200)
>>         at
>> org.interldap.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:149
>>                                              )
>>         at org.interldap.lsc.Launcher.run(Launcher.java:103)
>>         at org.interldap.lsc.Launcher.main(Launcher.java:95)
>>
>> Is it possible to force recursive deletion in LSC?
>
> You may find the "FullDNJndiDstService" JNDI provider useful for this.
> It is a provider similar to the usual SimpleJndiDstService, but that is
> based on full DNs. It sorts DNs by length during the clean phase, so
> will delete them from the leaves inwards.
>
> Unfortunately, this JndiService is currently undocumented (it's quite a
> new feature).


Do I just have to replace it in interldap.properties, or is there other
things to do (like editing the bean)? Maybe you can give me an example?

Cl?ment.

Reply via email to