Migrated users using project impot cannot login (LDAP)

Hi All

I recently performed a project import from one jira instance to another. During the project import, a lot of users were also migrated over to the new instance.

The problem I am facing is that the new users who were migrated can no longer login (LDAP authentication). However, the old users can login as normal (LDAP authentication).

Any ideas what may be going wrong?

PS: project import was done on 4.1.2 and the currently i am on 5.0.2. The issue got detected now (i.e. when we are on 5.0.2). Also some migrated users (LDAP authenticated) can login some cannot, so it is intermittent.


4 answers

1 accepted

I think I have found the root cause of this. The source (on which users were migrated) Jira OSUser.xml was different from target(from which the users were migrated) Jira's OSUSEr.xml.

The source was then upgraded to 5.0.2.

And it is mentioned in the upgrade guides that if users are upgraded using a different OSUSer.xml then they will never be able to authenticate agaist an LDAP directory.


No....after project import (done on 4.1) the issue was not detected. It got detected now (when we are on 5.0.).

More surprisingly, not all migrated users are unable to login. Some can some cannot.

The issue only relates to internal employees who are LDAP authenticated.

You mean on 4.1.2 the user able to login but not after upgrade to 5.0.2? Earlier, did the project import create the users in internal?

do you have same list of LDAP Directories in both JIRAs?
does internal and external users use same user directories?

does order of user directories in list are the same?
maybe you need to check in JIRA databases for directory_id in cwd_directory and cwd_users

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 ...

3,317 views 14 20
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