[Date Prev][Date Next]
blank line issues w/ldif files added by slapadd
I created an ldif file and tried to use slapadd only to come up with the
"could not parse entry" error As I understand the format, LDIF files
are supposed to have blank lines.... but looking at the error line
number and the file it became immediately apparent that the issue was
the blank lines. looking at several years of postings it became
apparent that the recommended solution is to delete the blank lines.....
(shouldn't this gotcha be covered in the portion of the manual doc where
it talks about adding an ldif file using slapadd?)
I guess my question is whether there is an export or import solutiion to
the blank line issue, or whether in fact anyone wishing to import an
lidf file into ldap must in fact open the file in an editor and abd
reformat, deleting blank lines..... and are there other artifacts that
need be cleaned out at the same time?