Hi,
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.
Any help will be greatly appreciated.
Thanks!
--On Friday, March 06, 2009 4:51 PM -0500 Yan Simkin bushmills@gmail.com wrote:
Hi,
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.
Any help will be greatly appreciated.
ldap_add: Invalid syntax (21) additional info: objectClass: value #2 invalid per syntax
That means the 3rd objectClass value (as they are zero based) is not valid. Either you are missing the schema for it (i.e., you haven't loaded it), or it's not an objectClass. Fix your data.
It would look like it doesn't like:
objectClass: domain
so you need to fix why it doesn't like that OC. Maybe you didn't load the schema that defines it.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
On Mar 6, 2009, at 1:51 PM, Yan Simkin wrote:
Hi,
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.
Thanks!
-- Regards, Yan
<ldapadd_error.txt><init.ldif><slapadd_error.txt><slapd.conf>
openldap-software@openldap.org