Filter for accounts with restricted memberof in result
Hi
Looking for the filter to get the (objectClass=person) accounts with restricted memberOf values in response. Below is the use case:
Use Case:
In LDAP, with (objectClass=person) there are 20 accounts. Each account has assigned to different groups (total 4 groups in system ex: A, B, C, and D) however, the filter should return all 20 accounts, and in memberOf only be A and B (should not return C and D even though group assigned to account)
Example:
Account: AAo1 is a member of A, B, and D
Account: AAo2 is a member of B and D
Filter results should return all accounts and memberof only should be in A or/and B even though other groups assigned to the account.