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
> 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
changed notes changed state Open to Closed
question