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

LDAP query errors.



OK, here we go.....

OpenLDAP 2.0.23 running on RedHat 7.1.


The slapd.conf looks like the following:
##### slapd.conf #####
include        /usr/local/etc/openldap/schema/core.schema
include        /usr/local/etc/openldap/schema/cosine.schema
include        /usr/local/etc/openldap/schema/inetorgperson.schema

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

database  ldbm
suffix         "o=bax"
rootdn         "cn=Maager,o=bax"
rootpw         secret
directory /usr/local/var/openldap-ldbm
index     cn,mail   pres,sub,eq
index     objectClass    pres,eq
######################

Loaded the following LDIF successfully:

(Embedded image moved to file: pic28145.pcx)

Next I loaded the following LDIF entry, successfully!!

dn: CN= Raed Nashef, OU=AGENT,O=BAX
objectclass:   top
objectclass:   person
objectclass:   organizationalPerson
objectclass:   inetOrgPerson
mail:     rnashef@baxglobal.com
sn:  nashef

Next....  I try to submit the following query,

ldapsearch -x  "(&(objectclass=person)(ou=AGENT))" dn

and that's when it fails with the following output:

#
# filter:  (&(objectclass=person)(ou=AGENT))
# requesting: dn
#

# search result
search:   2
result:   32 No such object

# numResponses:     1



Any ideas what's going on ??!!!


TIA,
-Raed.









Attachment: pic28145.pcx
Description: Binary data