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

0 votes
Accepted answer

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.

0 votes

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 Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,045 views 4 9
Read article

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