Skip to content

exclude some Active Directory groups from search #216

Answered by Yvand
turovskysd asked this question in Q&A
Discussion options

You must be logged in to vote

In the role claim type entry, you can set the Additional LDAP filter as below:

To exclude 1 group:
(!(sAMAccountName=group1))

To exclude 2 groups:
(!(sAMAccountName=group1)) (!(sAMAccountName=group2))

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by turovskysd
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants