Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Filter out LDAP users

Philip Soden
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 8, 2021

I would like to filter out all LDAP users that have a certain string in the name e.g. all users that are named '*-AA' 

I have referred to https://confluence.atlassian.com/kb/how-to-write-ldap-search-filters-792496933.html which states:

"Wildcards are not supported when used in filters using ! (or NOT) logical operators. "

Given this I cannot combine '!' with  '*-AA'. Is there a supported way to write this filter?

Thank you.

 

1 answer

0 votes
Vikrant Yadav
Community Champion
June 9, 2021

Hi @Philip Soden  Are you searching users in JIRA ? 

Wildcard search is for Text field like summary etc...where you can ~ sign. 

For getting users having AA in name then simply type AA in filter users. You will get all users having AA in name. 

 

Thanks! 

Philip Soden
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 9, 2021

Hi Vikrant,

Thank you for the reply. 

This is in JIRA User management -> Configure LDAP User Directory -> User Schema Settings -> User Object Filter.

I would like to exclude all the 'AA' users from being sync'd from LDAP into JIRA using this filter, if that is possible.
 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.5.7
TAGS
AUG Leaders

Atlassian Community Events