[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Adding cn entry



Maybe you've forgotten UTF8 encoding the value of attribute cn ...
You should do it first, thus there will be no problem with any language
(well at least in theory ...;-)

On Tue, Jul 13, 2004 at 01:05:02PM +0100, Jorge Ru?o wrote:
> I'm using OpenLDAP 2.2.13. When adding an entry with ldapadd, i'm geting an invalid syntax error:
> "additional info: cn: value #0 invalid per syntax"
[...] 
> cn: Grupo de Engenharia da Decis?o e Controlo
[...]
> I know this error is in word "Decis?o" in the cn atribute. Can't the cn
> atibute have a string with special chars like: ? ? ó ? ??? This chars are
> very common in my langue. The strange part is that with an LDAP tool like
> LDAP Browser, i can change the cn atribute and insert the special chars,
> but with ldapadd using an LDIF file i can't, it reproduces the error
> presented.

- Gábor (larta'H)