Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,471
Community Members
 
Community Events
165
Community Groups

Unable to migrate users from LDAP to internal directory

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

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.18.1
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,110 views 34 44
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you