Using the following command:
ldapadd -x -D "cn=Manager,dc=example,dc=com" -f example.ldif -w secret
No matter what I do, it says: ldap_bind: Invalid credentials (49)
Here is my slapd.conf
database bdb
suffix "dc=example,dc=com"
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
Here is example.ldif:
dn: dc=example,dc=com
objectclass: dcObject
objectclass: organization
o: Example Company
dc: example
dn: cn=Manager,dc=example,dc=com
objectclass: organizationalRole
cn: Manager
I saw another person with the same issue but it was because the slapd.conf information did not match the information being passed to ldapadd, I already correct that as you can see and it still does not work. What else am I missing?
Thanks, Jon
--
Jonathan Wage
http://www.jwage.com
http://www.centresource.com