Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

active directory integration

Administrator June 7, 2018

Good morning,
I apologize for my bad English

Type ActiveDirectory = Microsoft ActiveDirectory
Server ActiveDirectory = Windows Server 2008 R2 Datacenter
Atlassian software server = Windows Server 2016 Datacenter

I have problems connecting my ActiveDirectory, I follow the instructions on this page perfectly:
https://confluence.atlassian.com/adminjiraserver071/connecting-to-an-ldap-directory-802592350.html
The quick test is passed, so I press "save and test" and then "Test settings" but this error comes out:
"Test retrieve user: Failed
User <grechim270@BCCdiBrescia.loc> does not exist "

The fact is that the user exists and using the "LDAP" application from the "Atlassian software server" I can browse the ActiveDirectory perfectly,
in the "Base DN" field, as indicated, put "DC = BCCdiBrescia, DC = loc"

can you help me?

3 answers

2 votes
Administrator June 7, 2018

Resolved!
The problem was that the user performing the "test setting" must be part of one of Jira's local groups.
Thank you!

cerhead
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 19, 2020

Thanks a lot. This safe my day after spending two days troubleshooting. I dont know why atlassian not making this important fact bold in their documentation.

1 vote
Moses Thomas
Community Champion
June 7, 2018

@AdministratorYou should enter username of  user not email. and user name  and password must be correct  and user must be in  Ldap.

Administrator June 7, 2018

But this "grechim270@BCCdiBrescia.loc" is not the email address, it's the userPrincipalName in active directory, even using the distinguishedName
"CN = grechim270, CN = Users, DC = BCCdiBrescia, DC = loc" I get the same error, the user exists and the pswword is correct, in fact the first connection test passes it..

Moses Thomas
Community Champion
June 7, 2018

@AdministratorHow to get the base DN ? you will need to log in to your LDAP or AD and right click on the container where users and groups are keep inside for example container RD , once again go to PropertiesAttribute Editor and look for the attribute distinguishedName there you will find the correct syntax.

 

Best!

0 votes
Yogesh Mude
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 7, 2018

Hi @Administrator

Use need to use Internal with Lad authentication this will use the Active Directory for authentication.

Here is the documentation for the same, please have a look at it.

Suggest an answer

Log in or Sign up to answer