Connect Jira with Active Directory

I'm trying to connect Jira to Active Directory, so all users will be taken from AD. I've tried lots of configurations in user base DN, user filters, group filters, but couldn't reach wanted result. Jira most of the times took all users from AD approx. 170, but i have only 94 real users. I've created group cn "jira-users" in OU=Security Groups,OU=MyBusiness,DC=company,DC=local. "jira-users" group contains members (all company departments). All real users that needed to be syncronized from AD to Jira are members of "ALL" group.

LDAP schema in Jira (read only with local groups option):

BASE DN: ou=MyBusiness,dc=company,dc=local Additional User DN: ou=SBSUsers,ou=Users Additional Group DN: ou=Security Groups 

LDAP Permissions:

Default group memberships: jira-users User Schema Settings User Object filter: (&(objectCategory=Person)(memberOf=cn=ALL,ou=SBSUsers,ou=Users,ou=MyBusiness,dc=company,dc=local)) Group Object filter: (&(objectCategory=group)(memberof=CN=jira-users,OU=Security Groups,OU=MyBusiness,DC=company,DC=local))

Membership Schema Settings

Use the User Membership Attribute:

  • When finding the user's group membership (ticked)
  • When finding the members of a group (ticked)

I'm getting an error:

Test retrieve user : Failed User does not exist

or

Test get user's memberships with 0 groups retrieved. : Failed

4 answers

Hi Alya,

Sorry to hear that, however in order to further investigate this we would need to review your logs. Could you please try the following steps:

  1. Saved the configuration
  2. Try to synchronize the directory
  3. If its failed, check your logs which is located in <JIRA_HOME_Dir>/logs/
  4. From there you should be able to see synchronization process, starting with (syncrhonization start) lines
  5. Copy & paste it into here for review (censored if necessary)

Hope the logs help us to investigate this further.

Cheers,
Septa Cahyadiputra

(log.txt) thanks

I've added attached file with error logs on it. Thx

Hi Alya,

Sorry for the delay. My take in regards to your issue is to create a support ticket on our support channel so that we could review your LDIF export confidentially instead of trough public channel such as our Answers portal.

Judging from your logs snippet it is necessary for us to review your LDIF export to understand very well why Confluence did not retrieve any users and groups even though the search filter looks fine.

We are looking forward to further investigate your issue.

Cheers,
Septa Cahyadiputra

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,975 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot