Jira and Active Directory Usernames

I've set up a new Jira instance and connected to our Activie directory but I'm running into 2 problems.

1) regardless of the configurations I've tried I can only get it to see the Users OU. If I change the OU details under base DN it will give an error except with cn=users. I want to store my accounts in an alternate OU

2) when sucessfully authenticating with an account that is in the users OU for some reason it will only allow me to log in using the users full name instead of the actual username.

Any help would be greatly appreciated.

1 answer

1 accepted

0 vote

1) regardless of the configurations I've tried I can only get it to see the Users OU. If I change the OU details under base DN it will give an error except with cn=users. I want to store my accounts in an alternate OU

Active Directory is a little tricky. You'll have to get the entire qualified name of the alternate OU that you want. Our documentation has this tip:

  • For Microsoft Active Directory, specify the base DN in the following format: dc=domain1,dc=local. You will need to replace thedomain1 and local for your specific configuration. Microsoft Server provides a tool called ldp.exe which is useful for finding out and configuring the the LDAP structure of your server.

Hopefully that's helpful? I actually like Apache Directory Studio better than AD's built-in browser. I can tell you it does work, you've just got to get the right configuration. If you're still stuck, open up a support ticket and we'll take you through it.

2) when sucessfully authenticating with an account that is in the users OU for some reason it will only allow me to log in using the users full name instead of the actual username.

So that one's the 'User Name Attribute' under User Schema Settings. Try switching it to sAMAccountName if you have cn, or vice versa. Again, use either ldp.exe or Apache Directory Studio to browse the user and find that specific attribute.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

241 views 1 18
Join discussion

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