MS Active Directory groups integration

Hello, dear support.

I'm running JIRA 5.0.3 and I have successfully integrated my JIRA user directory with MS AD. But users are picked only from Organisational Units. For example, like this:

OU=Jira,OU=Service,OU=Groups,OU=<company>,DC=<domain>,DC=com

But my company uses a highly branched AD tree, so that i need to pick users not only from OU's but from groups too.

For that purpose i used these settings:

CN=<group_name>,OU=Jira,OU=Service,OU=Groups,OU=<company>,DC=<domain>,DC=com

The connection test runs green, but when i try to test retrieve users from that group i recieve error message

Test retrieve user : Failed

User <username> does not exist

User and group schemas are taken as recommended in this article: https://confluence.atlassian.com/display/JIRA/Connecting+to+an+LDAP+Directory

Please, tell me what i have done wrong?

2 answers

1 accepted

Hi Alexey,

I believe the best option for your case is set your Base DN to OU=<company>,DC=<domain>,DC=com and use a filter to restrict the results.

For example, use a filter like this at the User Object Filter field to synchronize only the users that belong to the groups JIRA-Administrators and JIRA-Users:

(&amp;(objectCategory=Person)(sAMAccountName=*)(&amp;(memberOf=CN=JIRA-Administrators,OU=groups,dc=test,dc=local)|(memberOf=CN=JIRA-Users,OU=groups,dc=test,dc=local)))

You can see more details about search filter in this documentation.

I hope this information has helped.

Cheers

Just got an answer from Atlassian Support Team and it worked:

I should set Base DN to OU=<company>,DC=<domain>,DC=com

Additional User DN: OU=<user OU> (for example, in my case Additional User DN:

OU=<users_OU>, OU=Users)

Additional Group DN: CN=<group CN>,OU=<group OU> (for example, in my case Additional Group DN: CN=<group_name>,OU=Jira,OU=Groups)

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 Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

384 views 4 10
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