slapadd: could not parse entry

1,533 views
Skip to first unread message

EBille

unread,
Aug 30, 2007, 4:44:50 AM8/30/07
to openldap
Why do I ALWAYS get "slapadd: could not parse entry (line=21)" message
when trying to add .ldif file to my opendldap (2.2.29) database ? Line
number is always last line.
Anyone has an idea ?
Yes or no, thanks a lot !
Eric

Lammi

unread,
Aug 30, 2007, 6:57:11 AM8/30/07
to openldap
try "slapadd -v -d 1 -l /path/file.ldif"

it will provide you some additional information about the problem.
often the problem isn't the line named in the message, but the line
before (20 in your case).

regards

EBille

unread,
Aug 30, 2007, 7:19:24 AM8/30/07
to openldap
Well, each line was beginning with two blank characters (or space).
Thank a lot !
Eric

Reply all
Reply to author
Forward
0 new messages