Move user authentication from JIRA User Directory to LDAP

Hi,

We currently use JIRA User Directory to manage users within our Confluence instance. JIRA, in turn, uses LDAP for authentication.

Now we would like to switch over Confluence to use LDAP directly as well. Any suggestions for how this is done without too much hassle?

I figured that since JIRA is using the same LDAP it would work to just add LDAP to Confluence and put it above the "JIRA User Directory" in the Directory name list in Confluence.

It feels to be too easy so any suggestions are appreciated!

Thanks in advance!

// Svante

3 answers

1 accepted

2 votes

That should be it. Sometimes things are too easy ;) Make sure the users are in the right groups in LDAP too or else they will start complaining about invalid permissions!

Hi Jobin,

Great, thanks for your answer!

Good point with the groups. They are currently created in JIRA and do not exist in LDAP. I will have to create them in LDAP first and synchronize them as well with confluence.

I'm also going to perform same activity. So could you please suggest which is the better way to achieve this.

Once LDAP integration completed, then how will be the first time login? users need to do any kind of sign-up? or simply they can access by their LDAP username & password?

Also, which permission type is better while configuring LDAP integration? means which one is better from Read Only, Read Only, with local Groups or read/Write. We have some custom groups associated with spaces.

Please suggest.. Many thanks in advance.

I have made my tests now in my staging environment and this will work fine.

When disabling the JIRA User directory all users will disappear from the confluence-users group which was created in JIRA.

However, I have confígured LDAP as Readonly with local groups and setup that users are added to confluence-users on first login. This group is starting to fill-up now as people are logging in again. All history, favorites, notifications and stuff are preserved.

I had a concern that the group was created in JIRA (hence belongs to the JIRA User directory) but it turns out that Confluence actually migrates this group to the INternal directory when I delete the JIRA User Directory. This has to do with the fact that the group is in use in Confluence. I noticed that groups from JIRA not used in Confluence were removed when I deleted the User Directory.

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
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

381 views 21 10
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