Move user authentication from JIRA User Directory to LDAP


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

This widget could not be displayed.

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.

This widget could not be displayed.

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.

This widget could not be displayed.

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
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

458 views 6 6
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