[Date Prev][Date Next]
Re: No such object (32) ..., again
I don't know if you have gotten this answer before, if so I apologize.
Have you created the dc=mydomain and dc=com objects?
if not, you should create them *before* adding entries as children to
dn: dc=mydomain, dc=com
On Wednesday, November 20, 2002, at 12:09 PM, Eigil Hysvær wrote:
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
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 188.8.131.52 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 ( 184.108.40.206 NAME 'person'
DESC 'RFC2256: a person'
SUP top STRUCTURAL
MUST ( sn $ cn )
MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) )
pgp fingerprint: BC64 2E7A CAEF 39E1 9544 80CA F7D5 784D FB46 16C1