How to integrate JIRA with OpenLDAP

I'm trying to connect JIRA to OpenLDAP directory on Ubuntu. Documentation and internet don't provide enough information on how this can be achieved.

I can't seem to pass the "Test retrieve user ". The user exists in LDAP and I have already used the account in Jenkins which I connected to OpenLDAP in no time. The process in JIRA seems more 'involved' than in Jenkins.

To troubleshoot this problem I think I have to go into JIRA debugging mode which I have no experience with as first timeuser. There is no way of knowing how JIRA is searching for users. There are some clues of course.

  • User Object Class
  • User Object Filter

User Object Class is default filled with inetorgperson. In my directory my users have initOrgPerson. So I corrected this. User Object Filter was default (objectclass=inetorgperson) I think. Also wrong. Grasping at straws I tried several things for example (uid=*)

Jenkins uses uid={0} as default. Which works. So it seems that JIRA is using something else than uid. But what is it?

1 answer

I managed to pass the first test with the following settings. So what I needed to do was change the Name from cn to uid.

User Object Class: inetorgperson

User Object Filterl: (objectclass=inetorgperson)

Name: uid

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

503 views 1 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