On 1/31/21 9:55 PM, radiatejava wrote:
I am using openldap client library 2.4.44 on Centos 7.3, LDAP v3 setting. I am having an issue with LDAP bind when the DN has encoded representation of special characters like é (e acute). Actual DN is CN=mithun,OU=Groupes de Sécurité,DC=mytest,DC=net and when it is sent by the app (frontend) to our backend, it is coming as CN=mithun,OU=Groupes de S\u00e9curit\u00e9,DC=insaaadev,DC=net.
This looks like some application-side munging of the DN, like e.g. a Python string-representation of the Unicode character entities. Sending this string to any LDAP server out there will not work.
Python 3.8.6 (default, Nov 09 2020, 12:09:06) >>> 'CN=mithun,OU=Groupes de S\u00e9curit\u00e9,DC=insaaadev,DC=net' 'CN=mithun,OU=Groupes de Sécurité,DC=insaaadev,DC=net'
Ciao, Michael.