Filter LDAP group results using a regular expression with the group filters textarea for my External Authenticator (LDAP).
Given the below groups, filter out anything that does not start with DATAMEER-TEST.
Unfortunately, a simple wildcard DATAMEER-TEST-* does not work and no groups pass this filter.
In the event that a simplified regex does not work, it's possible to use a strict regex. Navigate to the Group Filters -> Include These Groups section of External Authenticator settings.
^\w*DATAMEER\w*[-]\w*TEST\w*[-][A-Za-z]* will achieve the described example. It covers all groups with names that start with DATAMEER-TEST- and then have any other letter A-Z or a-z.
Please sign in to leave a comment.