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

Re: "slapadd could not parse entry" & "ldap_add: Invalid syntax (21)" errors

On Mar 6, 2009, at 1:51 PM, Yan Simkin wrote:


I'm trying to import the LDIF file (attached), but both comands return an error. The "slapadd" says there's a problem to parse and entry and the "ldapadd" announces syntax problems. I've been fighting that for a whole day, no success.

I attach hereto the LDIF file, the CONF file and both error outputs.

Your LDIF doesn't have any empty lines to separate entries. These are mandatory in the format. As comment lines are to be ignored, they cannot and do not serve to separate entries.

Any help will be greatly appreciated.