Hi all,
hoping someone has already been through this, in Confluence 5.4.4 I have two old legacy user directories with some users in each, both Active Directory. I would like to migrate all users from both over toa new "Internal with LDAP Authentication" user directory and delete the two legacy ones. Must maintain permissions, etc.
I found this article but the comment saying it only copies not migrates has stopped me using that one. It was handy to find the users in each directory however.
Any clues?
Hey Matt,
I have a method that might work, however is not support and involves some database sorcery :D, so if you decide to try this, set up a test instance to try this, if it works fine and you decide to give prod a go, backup your production database and application directories before trying to apply this on production:
This method will tie all users that are not members of the internal user directory into to the "new directory", once they try to authenticate confluence will update the external id.
Another key point is that this method will only works for Confluence on versions 5.3 to 5.5.2, if we ever change our table structure again in future versions this not might work.
Lastly, as I said before, this is a pretty invasive method, which is not supported by us (support team) and is not recommended at all to try in production without testing, however I believe it worth a shot doing into a test env :).
Hope it helps.
Also make sure to vote up for this feature request:
https://jira.atlassian.com/browse/CONF-25630
So we can have a supported way to migrated users in Confluence trough the UI instead of the above work around.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Deividi, I will give that a go after I spin up a test environment.
Have upvoted that ticket above.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I found an easier way for Confluence > 5.7, since the group memberships are merged in case of duplicate users.
use case :
* initial state : 1 internal user directory, with some usernames matching LDAP
* target state : 1 internal user directory + 1 delegated LDAP dir for LDAP users authentication.
By configuring the delegated LDAP with the "copy user on login" and by adding them to a newly created group to identify which ones are created, I managed to have the user who were in the internal directory but also in the LDAP authentify themselves from the LDAP, while users that were only in the internal directory (and not the LDAP) were not impacted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
funnily enough I will be doing exactly that in 9 days, but I'm hoping that all I will really need to do is update the existing user directory with the new LDAP server settings. If not then yes I imagine the same process above will take care of it. I'll update here how it goes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How'd it go? :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it worked fine. Only one side effect, some people did not come across as members of the confluence-uers group, I just added manually as they popped up.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
Is this same for JIRA?
Thanks
Abe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Matt Anderson for putting together these steps. Would it be a similar process to migrate from one AD to another?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Following up at last in case anyone reads this in future, just tried this on a test server - it works!
Only changes worth mentioning, in the new Delegated directory i had to tick Sync Group Membership, and Ijust had to fix a couple of quick internal group memberships that didnt come across. I also did not need to do steps 3, 16 & 17.
Happy to move onto the live server now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Meet the engineers who are making the Confluence magic happen at Atlassian ✨
RSVP now!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.