I'm experimenting with OpenLDAP. I have it up and running. I was able to successfully add, delete, modify, and search for users with an LDIF file exactly like those in the OpenLDAP 2.2 Administrator's Guide. As I move on to something more like what I want to do I've run into problems adding a user with an LDIF file. I've attempted to strip down my slapd.conf file to the bare minimum needed. I can start slapd without error. Here is what I execute and see
ldapadd -f AddDomain.ldif -x -D "cn=WWSAdmin,o=WWS" -w secret
Here is my slapd.conf file as it stands
#global configuration section
include /etc/openldap/schema/core.schema #database section
database bdb #indexed attribute definitions index objectClass eq
#database access control definitions
Here is the LDIF file I'm trying to load
dn: o=WWS,dc=JoeTest,dc=com
I can't help but feel it is something that should be obvious I'm missing. Especially since my previous test went well. |