Bug 725953 - Winsync: DS entries fail to sync to AD, if the User's CN entry contains a comma
https://bugzilla.redhat.com/show_bug.cgi?id=725953
Resolves: bug 725953
Bug Description: Winsync: DS entries fail to sync to AD, if the User's CN entry contains a comma
Reviewed by: nhosoi (Thanks!)
Branch: ds-replication-RHEL-6
Fix Description: When we construct a new AD DN, usually from the value of the
"cn" attribute in the entry, we need to escape the , and any other special
characters in the value used in the DN. We do this by putting double
quotes around the value, and let slapi_create_dn_string remove the quotes
and use \ escapes instead.
Platforms tested: RHEL6 x86_64, Windows 2008 x86_64
Flag Day: no
Doc impact: no
(cherry picked from commit 7a0548ba3df54de5883c3a16a1c1951af9327dfc)