Problem with connecting jira to active directory


just like in a topic, i have a problem / i don't know how cas i connect jira to AD. I read every tuturail and still have the same poroblem: Test retrieve user : Failed

This is my AD tree:




---Branch Office A

---Branch Office B

---Branch Office C

Could someone tell me how can i must set this ad ou's in jira ?

4 answers

Few questions here:

  1. Where's the base dn point to?
  2. Did you specify the Additional User DN there? If any, can you provide the example of the value you input?
  3. Is the user searchable with the user object filter Under User Schema Settings

for ex.

Base DN: dc=ABC,dc=COM

Additional User DN: ou=Workers ( or i tried Branch Office A )

Additional Group DN: ou=AA ( or i tried Workers )

i tried this configuration and didn't work

Is the Workers ou within the AA ou? If that's the case, I suppose you should use ou=Workers,ou=AA for Additional User DN

If that's still not working, empty the field and try the configuration again.

it dosn't work, i must do some wrong configuration.

my_ad_tree Could u tell in the begginig what i must choose and what set to connect jira with my ad.

In the beggining i must choole Active Directory, LDAP or what ? ;/

In the beggining i must choole Active Directory, LDAP or what ? ;/

Which LDAP server you're using? Microsoft AD, openldap, or etc.? For the differences of the selection:

Microsoft Active Directory - Synchronization type of Directory

LDAP - similar with above except you get to connect with other kind of AD such as OpenLdap.

Internal with LDAP authentication - user created in JIRA database but the password will authenticate with LDAP server

Select the correct directory, and get the connection works. Leave the other settings remain default(unless your AD are high customized) while make sure the connection works, admin user being able to retrieve.

Since you are using AD, then you can use Microsoft Active Directory configuration. If you are good in Active Directory, perhaps you can use 'dsquery'

Example: dsquery user -name administrator

Where administrator is the user that you are trying to sync. From there, it will return the FQDN for the particular user to help you configure Additional User DN when needed.

When you say its not working, what is the error? Only failed to retrieve user? Does that means the connection works?

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...

172 views 1 17
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