Which problems can occur if the same userid is present in two different user directories?
Hallo Annicka and Rian
For detailed information about what the impact of having the same username in different directories, please refer to this document:
https://confluence.atlassian.com/display/DOC/Managing+Multiple+Directories
The document describes how the directory order affects the processing, in terms of:
Things can become complex, and the document states that duplicate usernames across directories are not supported.
I hope this helps!
Cheers, Sarah
Hi Annicka, If same users exist in different directories there won't be an issue. In Confluence's database it will be represented as two different users, however the ownership should be similar. The user's detail (including membership and password) will be taken based on the sequence of user directory in Confluence Admin. If the user is found from the first directory, the details will be taken from there.
Hope it helps.
True, thanks for pointing out that documentation. Well as my experience as support having same username in across directories can still be done. Also, if you notice in the documentation in the Effect of directory order, it seems that it's possible to have same username on different directories, as it will take the first occurrence of the user to validate. Sorry for the confusion though.
The only real thing we are experiencing is that all such usernames are duplicate (doubled) in all user picker custom fields (incl. system fields Reporter and Watchers; but not Assignee).
Hi everyone
Is there any trick in order to avoid this behaviour (duplicate usernames) ?
Best
@Loic Yannou, you cannot order user directories to avoid duplicates. There are actually only two possible solutions in my mind:
We use Crowd for JIRA accounts. Our Crowd has configured 3 directories, 1 local and 2 LDAP Delegated authentication directories'.
A user had account in one of these Delegated directory (one AD domain) and then his account was de-activated in AD and Crowd, and a new, with the same user id, was created in the other LDAP domain and in CROWD.
JIRA was not always recognising the second account, and user was getting message access errors.
I had to rename the inactive account in Crowd and then the active would be corrctly recognised JIRA.
It looks like you're new here. Sign in or register to get started.