Issue #252 has been updated by Raphaël Ouazana.

Hi,

I think I finally found the root cause of the problem.
In JndiServices:rewriteBase() the base is compared with the contextDn. The 
problem is that the contextDn is in fact "o=bla%20bla", which does not compare 
to "o=bla bla"... So the base always include the suffix, which is added again 
by Jndi at deletion time.

I have no fix for the moment... trying to find one...

Regards,
Raphaël Ouazana.
----------------------------------------
Bug #252: Error deleting entry with a suffix containg a space
http://tools.lsc-project.org/issues/252

Author: Raphaël Ouazana
Status: Feedback
Priority: Normal
Assigned to: Jonathan Clarke
Category: Core
Target version: 1.2.2
Problem in version: 


Hi,

Still a strange case with JNDI/LDAP/etc.

When launching a cleaning task (-c), I get the following error:
Jul 06 11:41:05 - ERROR - Error while deleting entry uid=xxx,ou=people,o=bla 
bla in directory :javax.naming.NameNotFoundExcepti
on: [LDAP: error code 32 - No Such Object]; remaining name 
'uid=xxx,ou=people,o=bla bla'
Jul 06 11:41:05 - ERROR - Error while synchronizing ID uid=xxx,ou=people,o=bla 
bla: java.lang.Exception: Technical problem whil
e applying modifications to directory
dn: uid=xxx,ou=people,o=bla bla,o=bla\20bla
changetype: delete

Note the suffix added to times: once with "o=bla bla", once with "o=bla\20bla".

Regards,
Raphaël Ouazana.


-- 
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
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to