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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is the "Copy user on first login" is selected in the delegated directory configuration?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.