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

Re: result: 32 No such object

Hi Theodore,

Perhaps only a misstyping:
suffix "dc=reph,.dc=org" 
->there's a dot before dc=org

BASE BASE dc=reph, dc=org
->remove the space before dc=org

Kind regards,


Christian Pohl
Secaron AG

"Theodore Reph" <ted@reph.org>
Sent by: owner-openldap-software@OpenLDAP.org
09.12.2002 21:01

        To:     <openldap-software@OpenLDAP.org>
        Subject:        result: 32 No such object

OS: Red Hat Linux 8.0
BASE dc=reph, dc=org
database ldbm
suffix "dc=reph,.dc=org"
rootdn "cn=root,dc=reph,dc=org"
rootpw secretwordA
directory /usr6/ldap
index objectClass,uid,uidNumber,gidNumber,memberUid eq
index cn,mail,surname,givenname eq,subinitial
ldif file:
dn: dc=reph,dc=org
objectclass: top
objectclass: dcObject
objectclass: organization
dc: reph
o: Reph
description: The Great Moocows
dn: cn=root,dc=reph,dc=org
cn: root
sn: root
objectclass: top
objectclass: person
dn: cn=ted,dc=reph,dc=org
cn: Theodore R. Reph
sn: Theodore
objectclass: top
objectclass: person
dn: cn=dave,dc=reph,dc=org
cn: David Huber
sn: Dave
objectclass: top
objectclass: person
I added the ldif file to the ldap directory using slapadd ?l ldif. 
When I run ldapsearch ?x 
                 ldapsearch ?x "(objectclass=*)"
                 ldapsearch ?x "sn=Dave"
I get:
search: 2
result: 32 No such object
What am I doing wrong?
Theodore Reph