[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Installation Problem: ldap_bind: No such object
Hi
I see two things that may be wrong.
1. Is it really possible to specify two rootdn?
2. You add the the object dn: dc=neomorphic, dc=com, but
this should not be necessary/possible since it\'s
\"included\" in the suffix.
Well I\'m no expert, hope I could help.
/Urban
Quoting Eric Blossom <eric@neomorphic.com>:
> 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
>
>