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.

Rahul

4 answers

1 accepted

Accepted Answer
0 votes

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.

Rahul

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
Posted Sep 18, 2018 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...

21,898 views 2 7
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