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

Re: ldapadd and "Invalid syntax"



Ulli Horlacher wrote:
> # ldapadd -x -D "cn=Manager,dc=uni-stuttgart,dc=de" -w XXXX -f root.ldif
> adding new entry "dc=uni-stuttgart,dc=de"
> ldap_add: Invalid syntax
>         additional info: value contains invalid data

> root.ldif contains:
> 
> dn: dc=uni-stuttgart,dc=de
> objectclass: dcObject
> objectclass: organization
> o: Universitaet Stuttgart
> dc: Uni-Stuttgart

Is this the original ldif? Because I can add this entry without
problems. 
Maybe an Umlaut in Universität or a CR/LF delimeted file?

-- 
Norbert Klasen
DFN Directory Services                           tel: +49 7071 29 70335
ZDV, Universität Tübingen                        fax: +49 7071 29 5912
Wächterstr. 76, 72074 Tübingen              http://www.directory.dfn.de
Germany                             norbert.klasen@zdv.uni-tuebingen.de