anish patil wrote:
Hi All,
I want to add usr names which are not in ASCII characters using ldapadd command .
I tried it on RHEL 4.4 , it giving me following error
<error> adding new entry "uid=ああああ,ou=People,dc=avaya,dc=com" ldap_add: Invalid DN syntax (34) additional info: invalid DN </error>
Systems locale set:-*LANG=ja_JP.SJIS*
i googled it i found this
http://www.openldap.org/lists/openldap-software/200308/msg00570.html
But this post is in 2003
So i wanted to know is it LDAP's limitation ?
LDAP according to specifications requires to encode strings in UTF-8. So it's not a limitation of LDAP (or of OpenLDAP); you're misusing it.
p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it --------------------------------------- Office: +39 02 23998309 Mobile: +39 333 4963172 Email: pierangelo.masarati@sys-net.it ---------------------------------------