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

Search filter for ou=Groups



Hi,

How can I search for displaying all members in ou=Groups only? I added
a filter (&(objectClass=posixGroup)(ou=Groups)), but nothing displayed
(I can get every entries if the filter is not used)

ldapsearch -x  -W -D cn=insecure,dc=ldap,dc=hce,dc=org
"(&(objectClass=posixGroup)(ou=Groups)"


# extended LDIF
#
# LDAPv3
# base <dc=ldap,dc=hce,dc=org> (default) with scope subtree
# filter: (&(objectClass=posixGroup)(ou=Groups))
# requesting: ALL
#

# search result
search: 2
result: 0 Success

# numResponses: 1

Thanks.

jupiter