AD Extension Dynamic Group: Filter for User NOT MemberOfGroup
-
Hi All,
we have Kopano with AD-Extension for user and group management in use. Everything works fine so far. Additionally we use some DynamicGroups for easy group management.
Now i want to create a dynamic group with users that are NOT member of another AD Group.
Filter example to explain my situation:
(&(objectClass=Person)(kopanoAccount=1)(!(kopanoSharedStoreOnly=1))(!(memberOf=cn=testgroup2)))
This filter doesn’t work
If i try to query usernames with wildcards it works:
(&(objectClass=Person)(kopanoAccount=1)(!(kopanoSharedStoreOnly=1))(!(sAMAccountName=kopanotempuser*)))
My Question is: Can Kopano Dynamic Groups query for users that are member or no member of another group ?
I hope i could explain my needs exactly …
Thanks