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 vote

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
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 Apr 17, 2018 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...

818 views 2 19
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