LDAP pulling all users, I only want them to pull if they are a memeber of the group jira-users

This question is in reference to Atlassian Documentation: Administering JIRA Software

I am am setting up a new instance of JIRA we would like to add AD (LDAP) directory as well as the internal.  I have it working however it is pulling everyone from our AD I only want it to pull users that are int he group jira-users.

Base DN:


The Security Group called jira-users is in the following location


I put the following under User Schema Settings

User Object Filter




2 answers

1 accepted

If I put the user group in the base DN then it works.

Great. Glad you got it working.

I just don't understand why it has to be that way, but its working.

I looked at that and made changes to my

User Object Filter

(&(objectCategory=Person)(sAMAccountName=*)(memberOf=CN=jira-users,OU=JIRA,OU=OTS Servies,DC=WINDOM,DC=OUTREACH,DC=PSU,DC=EDU)))


Now I get an error:

Test retrieve user : Failed

org.springframework.ldap.InvalidSearchFilterException: Unbalanced parenthesis; nested exception is javax.naming.directory.InvalidSearchFilterException: Unbalanced parenthesis; remaining name 'DC=WINDOM, DC=OUTREACH,DC=PSU, DC=EDU'

It looks like you've one too many closing parentheses at the end - try this.

 (&(objectCategory=Person)(sAMAccountName=*)(memberOf=CN=jira-users,OU=JIRA,OU=OTS Servies,DC=WINDOM,DC=OUTREACH,DC=PSU,DC=EDU))

Now I get

Test retrieve user : Failed

User <mrl19> does not exist

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

42 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you