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

Difficulty searching by groupOfNames member

I'm having some difficulty searching by groupOfNames.member.  What's
particularly frustrating is that a few weeks ago I was able to make this
work.  (I was just learning LDAP back then and was having enough trouble
with the syntax that I literally created a text file named "Simple LDAP
commands that work.txt" and stored working command in it.)

Here's what I believe are the relevant pieces:

access to * by * write
rootdn		"cn=Manager,dc=netiq,dc=com"
rootpw		secret
index default pres,eq
index objectClass,uid
index member pres,eq
index cn,sn pres,eq,sub

directory entry (one among many):
# Some_CustomerN_Users, groups, CustomerN, netiq, com
dn: cn=Some_CustomerN_Users, ou=groups, o=CustomerN, dc=netiq, dc=com
objectClass: top
objectClass: groupOfNames
cn: Some_CustomerN_Users
member: cn=Jessica Coffin, ou=people, o=CustomerN, dc=netiq, dc=com
member: cn=Jeremiah Coffin, ou=people, o=CustomerN, dc=netiq, dc=com
member: cn=Rosemary Fischer, ou=people, o=CustomerN, dc=netiq, dc=com
businessCategory: None
description: Some users in CustomerN

ldapsearch -x -b "dc=netiq,dc=com" -D "cn=Manager,dc=netiq,dc=com" -w secret
"(&(objectclass=groupOfNames)(member=cn=Rosemary Fischer, ou=people,
o=CustomerN, dc=netiq,  dc=com))"

I know the entry is in the directory because it shows up when I use the
following command:  
ldapsearch -x -b "dc=netiq,dc=com" -D "cn=Manager,dc=netiq,dc=com" -w secret

Since the time when my member search command worked, I've played around with
different  indexing schemes and done some load testing.  Now, I'm back to a
small test directory, though, and have made sure my indexes are up to date
(by using slapindex or loading using ldapadd).  Nevertheless, I've devoted
almost two days to getting my search by member to work again and am now at a
total loss.  Should I not be looking at access and index configuration
settings?  What could  possibly have changed such that I am no longer able
to search by group member?

Any tips would be greatly appreciated.