The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to migrate users from LDAP to internal directory

Daan van Gorkum
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 14, 2021

As part of a migration we're removing our internal LDAP directory (FreeIPA) and use SAML for logging in.

Logging in works fine but now I'm trying to move the users in Jira from LDAP to the internal directory and this is not working. The page shows "0 of 5 users successfully migrated." and the log says:

2021-08-15 00:21:54,540+0000 http-nio-8080-exec-30 WARN <my username> 21x693x1 8o4k7k 1<my IP> /plugins/servlet/embedded-crowd/directories/migrate/ 
[c.a.j.c.embedded.ofbiz.OfBizDirectoryDao] Attempting to store directory [1] with only 3 attributes.

Another option would be to create new users and change all the contributions from the old to the new users but I was not able to find how to do this.

The same procedure I also have to repeat on Confluence/Bitbucket.

 

 

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Rex Core
May 10, 2022

Hi Daan, I wish I had an answer for you.  I'm interested because we are moving from Jira Delegated LDAP auth (with directory_id=10000) so SAML SSO (miniOrange) so need to migrate all users, groups, memberships to the internal directory (id=1).

The Jira directory migration tool was partially successful for me, but left about half of users in the delegated directory.  It's still not clear why, but there were likely duplicate users in both directories, or group memberships.

Now I'm testing database manipulation of 4 tables to move/migrate the remaining users with group memberships: cwd_user, cwd_group, cwd_membership, cwd_user_attributes.

If you found a solution, I would sure love to hear about it.

I will also have the same issue with Bitbucket and Confluence, w/o the built in migration tool.

Thanks.

Rex

DEPLOYMENT TYPE
SERVER
VERSION
8.18.1
TAGS
AUG Leaders

Atlassian Community Events