Hi all,
I am trying to add localized users into ldap i.e LANG=ja_JP.SJIS
while creating ldif file i am converting SJIS chars into UTF-8 format.
if i give value attribute "gecos:" in ldif file in localized format
I am not able add the user its giving me following error
<error> additional info: gecos: value #0 invalid per syntax </error>
If i am giving rest of the attributes in localized format it works fine
Only problem is with gecos field
can anyone tell is this the desired behavior or Am i missing something?
OpenLDAP version:2.4.11
O.S: RHEL 4.3
Thanks in advance
Hi all,
I am trying to add localized users into ldap i.e LANG=ja_JP.SJIS
while creating ldif file i am converting SJIS chars into UTF-8 format.
if i give value attribute "gecos:" in ldif file in localized format
I am not able add the user its giving me following error
<error> additional info: gecos: value #0 invalid per syntax </error>
If i am giving rest of the attributes in localized format it works fine
Only problem is with gecos field
can anyone tell is this the desired behavior or Am i missing something?
OpenLDAP version:2.4.11
O.S: RHEL 4.3
"gecos" has syntax IA5 string, so it does not accept UTF-8, but plain ASCII.
p.
Thanks a lot
if i give value attribute "gecos:" in ldif file in localized format
I am not able add the user its giving me following error
<error> additional info: gecos: value #0 invalid per syntax </error> If i am giving rest of the attributes in localized format it works fine can anyone tell is this the desired behavior or Am i missing something? "gecos" has syntax IA5 string, so it does not accept UTF-8, but plain
ASCII.
This means that gecos attribute accepts only ASCII characters.
Is there any openldap documention which speciffies the same thing?
Thanks and Regards
anish patil wrote:
Thanks a lot
>>if i give value attribute "gecos:" in ldif file in localized format >> I am not able add the user its giving me following error >><error> >> additional info: gecos: value #0 invalid per syntax >></error> >> If i am giving rest of the attributes in localized format it works fine >> can anyone tell is this the desired behavior or Am i missing something? >>"gecos" has syntax IA5 string, so it does not accept UTF-8, but plain ASCII.
This means that gecos attribute accepts only ASCII characters.
Is there any openldap documention which speciffies the same thing?
Whenever possible the schema files shipped with OpenLDAP simply contain what's written in the standard documents. In this particular case see RFC 2307, chapter 3.
http://www.ietf.org/rfc/rfc2307.txt
While it might look desirable for you to change that you might run into serious interop issues with client software when doing so.
Ciao, Michael.
openldap-technical@openldap.org