How to migrate local bamboo users to LDAP users keeping usernames

Charlie Misonne Community Champion Jan 25, 2016

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

This widget could not be displayed.
Charlie Misonne Community Champion Jan 25, 2016

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

63 views 1 0
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