
March 9th, 2010, 12:17 AM
|
|
Registered User
|
|
Join Date: Dec 2003
Posts: 1
Time spent in forums: 43 m 45 sec
Reputation Power: 0
|
|
|
LDAP group filter
Hi all,
In my organization we use nested groups.
For a particular usage, we have a group (let’s assume that the group name “kuku”), and the names of all the nested groups under it contains “kuku” as well.
We may assume that no other group in the LDAP has “kuku” in the name.
I need to create a filter which will return all the users which belong to one of the “kuku”s group.
Obviously, using this filter will bring only the head kukus
(&(&(objectclass=user)(objectclass=person))(memberOf=CN=kuku,cn=…rest of the group DN…))
How can I use wild card to fetch all users which belong to any kuku?
For example:
(&(&(objectclass=user)(objectclass=person))(memberOf=CN=.*kuku.*))
Thanks,
Asi
|