Delegated LDAP Authentication not working for new user directory

I have setup a delegated LDAP authentication and everything works well now for about a year. Now I need to change the LDAP server (because the old one will be decommissioned). So I created a new user directory with the new server configured. The test connection works, but when I try to log in, it tells me that the username or password is incorrect.

So then I created a user directory with the identical configuration as the working one (same sever name), and it still doesn't work.

1 answer

1 accepted

0 votes

Hi Nicholas,

Are your trying to login with an user that is also on the other User Directory?

If so, are the passwords the same on both LDAP servers? Have you disabled the old User directory? Is the new User directory on the top position?

I recommend you open a ticket on to take a better look at this.

Hope my questions bring some light to what may be causing this problem.



Thanks for the answer Marcus.

Yes to all the questions. What I think is going on is that the users are somehow linked to a user directory. So even if I create a new user directory which can act as a delegate, it ignores it and just tries to hit the old one (i.e. the ordering is useless). I will follow your advice and open a ticket.

Is the "Copy user on first login" is selected in the delegated directory configuration?

From what I've understand so far, you have created a new Delegated LDAP and wanted to use the new configuration and not the old configuration. If you are still seeing the users are in the old directories, you should do a migration using the migrate users features in 5.0.3 and later.

You would be required to select the "Copy user on first login" when you want the user to be pointed to the new Delegated LDAP configuration.

Thanks for your answers. I finally just configured the new LDAP server in the old configuration and crossed my fingers. It worked! I'm running an old version of Jira, so I don't have the migrate feature. I guess I misunderstood how the user directories work. From the coments I gather that once a user is linked to a user directory, the login will always try to hit that directory (even if it's disabled).

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,760 views 11 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