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! -- Regards, Yan
C:\OpenLDAP>ldapadd -x -h 10.224.102.196 -p 389 -D cn=jdoe,dc=enterprise,dc=otn,
dc=com -w jdoe -f init.ldif
adding new entry "dc=enterprise,dc=otn,dc=com"
ldap_add: Invalid syntax (21)
additional info: objectClass: value #2 invalid per syntax
init.ldif
Description: Binary data
>>> dnPrettyNormal: <dc=enterprise,dc=otn,dc=com> <<< dnPrettyNormal: <dc=enterprise,dc=otn,dc=com>, <dc=enterprise,dc=otn,dc=com> str2entry: invalid value for attribute objectClass (syntax 1.3.6.1.4.1.1466.115. 121.1.38) slapadd: could not parse entry (line=30)
slapd.conf
Description: Binary data
