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

This fix caused a regression because it doesn't check case of DN. Fixed in 
r1906.
----------------------------------------
Bug #395: Bug with white space in DNs
http://tools.lsc-project.org/issues/395

Author: Robin Garner
Status: Feedback
Priority: Normal
Assigned to: Sébastien Bahloul
Category: Core
Target version: 2.1
Problem in version: 


When a DN exists in a source directory with whitespace before or after an RDN 
(eg "cn=Fred,ou=People, o=myorg,dc=example,dc=com"), rewriteBase leaves a 
trailing comma on the relative DN, and subsequent operations fail.

The attached patch replaces the string manipulation of DNs with standard apache 
DN operations, leveraging the apache library's knowledge of DN syntax to avoid 
these issues.  The logic becomes simpler in the process.




-- 
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