Issue 742 - slapd
Summary: slapd
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-09-14 12:36 UTC by ROOT,DALENE (Non-HP-Boise,ex1)
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ROOT,DALENE (Non-HP-Boise,ex1) 2000-09-14 12:36:34 UTC
I have just installed openldap2.01 and am trying to test it.  I am getting
no object found.  Here is my slapd.conf:
OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.4 2000/08/26 1
t Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include         /usr/local/etc/openldap/schema/core.schema

# Define global ACLs to disable default read access.

# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral       ldap://root.openldap.org

pidfile         /usr/local/var/slapd.pid
argsfile        /usr/local/var/slapd.args

# Load dynamic backend modules:
# modulepath    /usr/local/libexec/openldap
# moduleload    back_ldap.la
# moduleload    back_ldbm.la
# moduleload    back_passwd.la
# moduleload    back_shell.la

#####################################################################
# ldbm database definitions
#####################################################################

database        ldbm
suffix          "dc=hp, dc=com"
#suffix         "o=boi.hp.com, c=US"
rootdn          "cn=Manager, dc=hp, dc=com"
#rootdn         "cn=Manager, o=hp.com, c=US"
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw          secret
# The database directory MUST exist prior to running slapd AND 
# should only be accessable by the slapd/tools. Mode 700 recommended.
directory       /usr/local/var/openldap-ldbm
# Indices to maintain
index   objectClass     eq

The command I used was :
ldapsearch -L -b "dc=hp, dc=com" -W "(objectclass=*)"

The results where:

version: 1
#
# filter:(objectclass=*)
# requesting: All
#
# search result
No such object (32)
numResponses: 1

Could someone help me?  Also could someone explain what the (32) is?

Thanks

Dalene Root 
Unix SA


Comment 1 kunkee@openldap.org 2000-09-14 15:29:22 UTC
> I have just installed openldap2.01 and am trying to test it.  I am getting
> no object found.  Here is my slapd.conf:
> [stuff deleted]
>
> ldapsearch -L -b "dc=hp, dc=com" -W "(objectclass=*)"

Most likely, the base of your search, "dc=hp, dc=com", does not exist.

> 
> The results where:
> 
> version: 1
> #
> # filter:(objectclass=*)
> # requesting: All
> #
> # search result
> No such object (32)
> numResponses: 1
> 
> Could someone help me?  Also could someone explain what the (32) is?
> 

From ldap.h, 32 is the numeric error number LDAP_NO_SUCH_OBJECT, which
is rendered as "No such object" above.

Randy
Comment 2 Kurt Zeilenga 2000-09-14 22:37:01 UTC
changed notes
changed state Open to Closed
Comment 3 OpenLDAP project 2014-08-01 21:06:12 UTC
question