How to migrate local bamboo users to LDAP users keeping usernames

Hi

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: https://confluence.atlassian.com/bamboo059/integrating-bamboo-with-ldap-800858652.html

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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,561 views 0 6
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