[Date Prev][Date Next] [Chronological] [Thread] [Top]

Installation Problem: ldap_bind: No such object



I've seen the FAQ and some notes in the archive. They say that I must have
the password wrong. However, I just can't see it. Perhaps I'm going blind.
Can anyone else spot my error:

slapd.conf:

 # See slapd.conf(5) for details on configuration options.
 # This file should NOT be world readable.
 #
 include         /usr/local/etc/openldap/slapd.at.conf
 include         /usr/local/etc/openldap/slapd.oc.conf
 schemacheck     off
 #referral        ldap://root.openldap.org/

 pidfile         /usr/local/var/slapd.pid
 argsfile        /usr/local/var/slapd.args

 ###############################################
 # ldbm database definitions
 ###############################################

 database        ldbm
 suffix          "dc=neomorphic, dc=com"
 suffix          "o=Neomorphic, c=US"
 rootdn          "cn=Manager, dc=neomorphic, dc=com"
 rootdn          "cn=Manager, o=Neomorphic, c=US"
 rootpw          secret
 # cleartext passwords, especially for the rootdn, should
 # be avoid.  See slapd.conf(5) for details.
 directory       /usr/tmp


Meanwhile, back at the shell prompt:

 #  ldapadd -w secret -D "cn=Manager, dc=neomorphic, dc=com" -f test.ldif
 ldap_bind: No such object
 #


>From the FAQ it sounds like the following doesn't matter. But, just in
case:

test.ldif:

 dn: dc=neomorphic, dc=com
 dc: neomorphic
 o: Neomorphic
 objectclass: organization

 dn: cn=Eric Blossom, dc=neomorphic, dc=com
 cn: Eric Blossom
 sn: Blossom
 objectclass: top
 objectclass: person