how we can add an already established user that’s in the LDAP directory to the Confluence Internal Directory?
Confluence uses the directories in the order you put them in the directory list.
It's not quite as simple as that, but it does seem to work like that. Imagine you've got a user called Charlie, and three directories in this order in the list:
When Charlie tries to log in, or you're looking for Charlie in a search, or to display their name, or group membership or whatever, Confluence effectively scans top to bottom through the list. It won't find Charlie in LDAP1, but when it finds them in LDAP2, it stops and uses that record for Charlie.
If you change the order so that:
Charlie will be read from the internal directory instead, as it's the first one found.
So, you need to be very careful if you want to have duplicate users, because Confluence will only recognise and work with the first one it finds.
Confluence will not let you add duplicate users though - it searches through all the directories and stops the creation as soon as it finds Charlie in any directory.
So, with that warning noted
To create Charlie in the internal directory, plan a few minutes down-time, as you're going to break people's access temporarily.
Given my example directories above, but with Charlie only being in LDAP2 at the moment and not having an internal account:
BTW, we rely on this happening for when our connection to Active Directory dies, Confluence falls back to my internal admin user account so I can gain access to fix the issue. The only issue is I have to also remember that password as that is also stored with that account. ;-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.