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 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...

26 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