let's assume I have the user
CN=testuser1,OU=Users,DC=corp,DC=com
and I want to receive all groups where the user is registered as the owner. I am currently using the following filter:
(|(ManagedBy=CN=testuser1,OU=Users,DC=corp,DC=com)(msExchCoManagedByLink=CN=testuser1,OU=Users,DC=corp,DC=com))
However, it can happen that security groups are also entered as owners. How can I adjust the filter so that I can still find the right groups, even if the user is indirectly entered as the owner via a security group? Can this possibly be done with the matching rule OID 1.2.840.113556.1.4.1941
(LDAP_MATCHING_RULE_IN_CHAIN)?
thanks in advance!