Thanks in advance,
Just deploying Jira Service Desk and have the LDAP sync working just fine for about 10 clients. The issue is that several clients have simple and common usernames like john. Per everything I have read the directories sync in order, so John from client A highest up on the sync list would be there, but John from Client Z does not sync.
I further understand that there has to be unique usernames and that there can't be two Johns since they would be duplicate accounts.
My question is, could we track everything by MAIL, instead of sAMAccountName as is default?
The likleyhood of 2 users having the same full email address is not high in my experience. That email could then be used to log in.
I have read some articles about changing the User Name Attribute as well as the group search under Schema, but I'm coming up empty when I try to do my syncs with the error
org.springframework.ldap.UncategorizedLdapException: Unable to find the username of the principal. I would rather not have to create 1 off users for these duplicates.
Again, thanks for your time.
At a guess, UncategorizedLdapException is caused by one or more users not having the designated username attribute ('mail'). Try adding a presence filter ((mail=*)) to drop them, and see if that helps.
Alternatively, you could use 'userPrincipalName' instead of mail. It should be mandatory for all users, so no presence issues, and is more or less guaranteed to be unique across an entire AD forest AFAIK.
Audun,
Thanks so much for taking the time. That was my thought as well, but for the ad sync group in question I made sure they all had it. I'll try the filter and the user Principal name as well. I believe that would make everyone unique in jira, but we'd still need to make sure they could sign in with something unique as well, most likley email? You help is much appreciated. I'll give it a shot and report back.
Thanks again.
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.