[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Issue using ldapadd
- To: openldap-software@openldap.org
- Subject: Issue using ldapadd
- From: "Jonathan Wage" <jonwage@gmail.com>
- Date: Fri, 21 Dec 2007 08:44:02 -0600
- In-reply-to: <be85b5220712201548na448bd0rf45a5998383e6426@mail.gmail.com>
- References: <be85b5220712201548na448bd0rf45a5998383e6426@mail.gmail.com>
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