Josh Miller wrote:
Good afternoon,
I'm testing OpenLDAP 2.4.7 in a lab and trying to import my production data using slapcat/slapadd. Whenever I try to import the data into the newly created database, I get the following error:
# slapadd -v -F /etc/openldap/slapd.d -l slapcat.out str2entry: invalid value for attributeType objectClass #1 (syntax 1.3.6.1.4.1.1466.115.121.1.38) slapadd: could not parse entry (line=1)
I've turned up debugging which gives no further information (that I'm able to interpret as errors). I did see a message from a web search which indicated that I might not have the proper schemas loaded, so I generated another slapd.d after adding the following schemas:
(I didn't see any information in the OpenLDAP admin guide which documents this issue.)
Any ideas as to why this might be occurring or tips on troubleshooting?
It would probably help if you posted what values for objectClass you're trying to load in that particular entry.