Same user names in local DB and Active Directory - How to switch to AD?

Hey guys,

our Confluence was restricted to a single AD group in the beginning (5 Users). To have more people collaborate, local users where created with the same username as in the Active Directory. Those users did also collaborate with articles. Now we want Confluence open for all users and therefore removed the group-limitations from the LDAP-binding.

What can I do to migrate/ remove my 4-5 local users and have them authenticate against LDAP? Removing is impossible according to Confluence, because, as said, they did write articles.

Thanks in advance!

3 answers

1 accepted

0 votes
Accepted answer
Peter Koczan Atlassian Team Nov 13, 2012

Dirk is right on his suggestion. If you change the directory order, your user will be authenticated against the first directory. If the username in this directory is the same as in other directories, apart from group memberships, all permissions will be the same for that user and content created will relate to him.

The general idea you have to consider is that the username is the primary key for identifying an user, regardless of the authentication method.

Sorry for the late reply, but Peter's suggestion was right. Thank you all for your quick help!


It is actually very simple. Create the same account in the LDAP directory. And immediately delete the accounts in the non-LDAP directory. This worked for me with Crowd. If you are using Confluence only and not Crowd, this may not work.

Can't you just remove your limitation to one LDAP group and then put the AD before the "Confluence Internal Directory"? IIRC then first the AD will be used to authenticate.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

476 views 3 18
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