[Date Prev][Date Next]
No such object (32) ..., again
Hello - it's the "No such object (32)" again. I know it must
be frustrating to answer the same question over and over again,
but none of the answers available helped me to get to the solution....
I'm unable to add entries. Can someone please help me?
(I've spent 2 days on it now, testing and tweaking,
reading man pages, FAQ's and OpenLDAP 2.1 Administrator's Guide.)
Note 1: "make tests" was successfull. So was the installation.
2: /usr/local/var/openldap-data exists and is accessible by 'root'.
3: ldap.conf has no entries (if that makes any difference).
4: OpenLDAP was made to support strong encryption (so was BDB).
Here's what I got:
Running as superuser (root)
prompt>/usr/local/bin/ldapadd -x -w secret -D "cn=root,dc=mydomain,dc=com" -v < ldap-person
adding new entry "cn=Barbara Jensen,dc=mydomain,dc=com"
ldapadd: update failed:cn=Barbara Jensen,dc=mydomain,dc=com
ldap_add: No such object (32)
Content of slapd.conf:
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 184.108.40.206 2002/10/17 15:06:27 kurt Exp $
index objectClass eq
Content of ./ldap-person:
dn: cn=Barbara Jensen,dc=mydomain,dc=com
cn: Barbara Jensen
Content of /usr/local/etc/openldap/schema/core.schema (the 'person' objectclass)
objectclass ( 220.127.116.11 NAME 'person'
DESC 'RFC2256: a person'
SUP top STRUCTURAL
MUST ( sn $ cn )
MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) )