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

slapadd and comments



slapadd seems very sensitive to comments in ldif files.  What give?  Attached are two test ldif files.

slapadd -b o=myinunison -l test.ldif fails with the following message:

"slapadd: could not parse entry (line=8)"  

slapadd -b o=myinunison -l test2.ldif succeeds.

I don't get it, comments should be ignored as should blank lines right?

In a related subject, ldapadd seems even pickier:

[root@tiger 2.1.22]# ./bin/ldapadd -h <myserver> -D cn=Administrator -w <mypassword> -x -f test2.ldif
adding new entry "o=mydomain"
ldapadd: update failed: o=mydomain
ldap_add: Already exists (68)

Thanks!

James Courtney
InPhonic, Inc.
 <<test2.ldif>>  <<test.ldif>> 

Attachment: test2.ldif
Description: test2.ldif

Attachment: test.ldif
Description: test.ldif