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

RE: Difficulty searching by groupOfNames member

Alas, I cannot even get Jessica Coffin (the first member listed) to show up.

I used:

ldapsearch -x -b "dc=netiq,dc=com" -D "cn=Manager,dc=netiq,dc=com" -w secret

"(&(objectclass=groupOfNames)(member=cn=Jessica Coffin, o=CustomerN,
dc=netiq, dc=com))"


ldapsearch -x -b "dc=netiq,dc=com" -D "cn=Manager,dc=netiq,dc=com" -w secret


still returns all the groups as I would expect.

My project depends on being able to search by member, regardless of where
the member appears in the list of attributes.

Thanks for the input.  I guess I'm glad I'm not the only one having trouble
with this.  If anyone figures this one out, I'll be eager to hear the
solution.  Likewise, if I learn anything new, I'll post it.


-----Original Message-----
From: Bruno Eteve [mailto:bruno.eteve@atempo.com] 
Sent: Thursday, July 25, 2002 11:54 PM
To: 'openldap-software@OpenLDAP.org'
Subject: Re: Difficulty searching by groupOfNames member

Kristin Engstrom wrote:
> 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
> ...
> command:
> ========
> ldapsearch -x -b "dc=netiq,dc=com" -D "cn=Manager,dc=netiq,dc=com" -w
> "(&(objectclass=groupOfNames)(member=cn=Rosemary Fischer, ou=people,
> o=CustomerN, dc=netiq,  dc=com))"

I've got the same problem. But I noticed that if I search the first member
in the group (cn=Jessica Coffin in your case), the result is OK..

Can't wait the answer...

Bruno Eteve -*- 01 64 86 83 00 -*- http://www.atempo.com
/earth: file system full.