Problem with connecting jira to active directory

Hi,

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:

ABC.COM

--AA

---Workers

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

0 votes
Yew Teck En Atlassian Team Sep 01, 2013

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

0 votes
Yew Teck En Atlassian Team Sep 01, 2013

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 ? ;/

Yew Teck En Atlassian Team Sep 04, 2013

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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

22,564 views 2 7
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