[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
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/libexec/slapd
prompt>/usr/local/bin/ldapadd -x -w secret -D "cn=root,dc=mydomain,dc=com" -v < ldap-person
ERROR MESSAGE:
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 1.23.2.4 2002/10/17 15:06:27 kurt Exp $
include /usr/local/etc/openldap/schema/core.schema
pidfile /usr/local/var/slapd.pid
argsfile /usr/local/var/slapd.args
database bdb
suffix "dc=mydomain,dc=com"
rootdn "cn=root,dc=mydomain,dc=com"
rootpw secret
directory /usr/local/var/openldap-data
index objectClass eq
Content of ./ldap-person:
dn: cn=Barbara Jensen,dc=mydomain,dc=com
objectClass: person
cn: Barbara Jensen
sn: Jensen
Content of /usr/local/etc/openldap/schema/core.schema (the 'person' objectclass)
objectclass ( 2.5.6.6 NAME 'person'
DESC 'RFC2256: a person'
SUP top STRUCTURAL
MUST ( sn $ cn )
MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) )
Thanks,
Eigil