How to migrate local bamboo users to LDAP users keeping usernames


I want to start using our LDAP directory instead of the local bamboo user dirctory. All users have the same username as their AD equivalent. For Confluence and JIRA this works perfectly but apparently Bamboo behaves in a different way:

According to the documentation:

Ensure that you do not have duplicate users in your LDAP directory — If you have users in your LDAP directory that are also on Bamboo, the first repository definition in your atlassian-user.xml file will take precedence.

= When configuring an LDAP directory in Bamboo the exisitng local users may not have the same usernames as in LDAP.


How can I migrate the local users to the LDAP directory by keeping their permissions etc. ?

Currently I set both configurations in atlassian-user.xml and when I search for my user  both the local user and the AD user appear in the AD groups and not in the local groups. When I switch the order of the directories in the configuration both appear in the local groups. Again, i JIRA and Confluence this works differently which is a pain


1 answer

0 votes

I solved this by:

  • setting the Hibernate directory as first directory in the xml config.
  • Added a new local admin user. (In case of AD problems)
  • Wrote down the group memberships for each user
  • Deleted each user
  • set the LDAP directory as first in the xml config
  • added the users to their original group memberships

 TODO: figure out how to remove the local "super admin" user

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 10 hours ago in Jira Ops

Jira Ops Early Access Program Update #2: Let’s talk severity levels

Welcome to your weekly Jira Ops Early access program update, where we’re sharing news and updates on Jira Ops' progress as we work toward our 1.0 release. If you ever want to drop us feedback or idea...

21 views 0 0
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