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 vote
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!

Cheers

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
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 Thursday in Confluence

Color tables for a shiny Confluence page

...; ## Developed by: Alana Fernando ## Shared with love ## @param style:title=style type|type=enum|required=true|desc=Choose a style.|enumValues=Style1,Style2,Style3,Style4,Style5 ## @param alignment:title...

287 views 14 16
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