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

Re: newbie: quickstart ldapadd fails



At 07:02 AM 2002-01-09, De Langhe Rob wrote:
>Hi,
> 
>I installed openLDAP 2.0.18 on Solaris 7 (SPARC), and followed the QuickStart documentation to create an initial database from a "entries.ldif" file with the "ldapadd" command :
> 
>entries.ldif contents:
> 
>dn: dc=mycompany,dc=com
>objectclass: organization
>o: MyCompany
>dc: mycompany
>description: My Own Company
> 
>the ldapadd command:
> 
>ldapadd -D "cn=Manager,dc=mycompany,dc=com" -f entries.ldif
> 
>returns with the message:
>ldapadd: missing value on line " (attr is objectclass: organization)
> 
>Any hints and tips please...

Your input is likely malformed.  Use hexdump(1) or like
tools to find oddities.  (vi :set list works well here
too.)

Kurt