Hi, in our XWiki we use the LDAP Extension. Now we want to exclude two sub OUs below the base DN.
In the LDAP GUI extension the LDAP BaseDN ist set to the following:
DC=test,DC=examble,DC=com
Now as the excluded groups can only have one static group, one OU or One LDAP Filter, my idea was to create One LDAP Filter that includes both OUs I want to exclude.
Now im uncertain If this will work at all and if the syntax is correct.
My thought about the filter for the setting for excluded ldap group was:
(|(distinguishedName=OU=test1,DC=test,DC=examble,DC=com)(distinguishedName=OU=test2,DC=test,DC=examble,DC=com))
Of course all users in sub-OUs below that should be excluded as well.
Has somebody done similar things in the past or is firm enough to confirm this should work? Sadly I currently don’t have an LDAP enabled Testsystem, and in our productive system (even with Backup) I don’t really want to figure this out by trial and error^^
I really appreciate the help!
Best regards
Tom