[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: why display "slapadd: could not parse entry (line=9)"?
"zhouhy hy" wrote...:
> when i add data into ldbm,what does the display below mean?
> # /usr/local/sbin/slapadd -f /usr/local/etc/openldap/slapd.conf -l
> z.ldif slapadd: could not parse entry (line=9)
>
> the content of z.ldif is that:
> dn: dc=example,dc=com
> objectclass: dcObject
> objectclass: organization
> o: Example Company
> dc: example
-> include an empty line here. <-
> dn: cn=Manager,dc=example,dc=com
> objectclass: organizationalRole
> cn: Manager
are this whitespaces at the end of your ldif lines, or were they just
added by copying / MUA ? if they are in your ldif, remove them!
hth,
daniel