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

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
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

102 views 3 4
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