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

This widget could not be displayed.

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 support.atlassian.com to take a better look at this.

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

Cheers,

Marcus

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 Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

171 views 1 3
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