Last post Aug 27, 2010 04:55 AM by johram
Mar 09, 2010 01:31 AM|g_asi2|LINK
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.*))
Aug 27, 2010 04:55 AM|johram|LINK
Please note that person is an objectCategory, not objectClass. So I'd try with:
Please try this and let me know if this works?