Test retrieve user : Failed

This is pretty frustrating.

Have installed Jira Core 7.4.2 on Windows Server 2016

My intention is to create and Active Directory Sync that gets all users within an AD-group. But i get stuck on an error that my sync account cannot be found.

This is what i have filled in into the Configure LDAP User Directory page:

Directory Type: Microsoft Active Directory
Hostname: domaincontroller.domain.com (also tested netbiosname only)
Port: 389
Username: SVC-Jira-Sync@domain.com (also tested FQDN, ie CN=SVC-Jira-Sync,OU=etc etc)
Password: The password for SVC-Jira-Sync
Base DN: Tested both DC=Domain,DC=com and a more specific OU FQDN
LDAP Permission: Read Only

Left the rest default

When its time for testing the connection i fill in User name and Password for SVC-Jira-Sync (tested both UPN and FQDN) i get this:

Test basic connection : Succeeded
Test retrieve user : Failed

User <SVC-Jira-Sync> does not exist
The rest of the tests are not performed.
 
if i on the Jira server open Powershell and run:
Get-ADUser "CN=SVC-Jira-Sync,OU=etcetc" -Server <server specified>
I get the user back, also verified the the UPN is correct.
 
I dont have any spaces in my FQDNs
 
Whats next?

1 answer

1 accepted

Somehow this error was only during the Save+Test phase, if i pressed Save+Test and then before testing i pressed back to directory lists and there i press synchronization. It works without errors.


Jira bug!!!

Micke, thank you!

I have faced to the same problem. Test failed, but sync is ok.

Same issue on 2 instances of JIRA.  Unable to query base of AD and all underlying objects.  HELP?

Have a look at the log file - that will be recording the errors encountered when you click test or synchronise, and they should tell you what is wrong.

Same for us (Dec 2017).  The test could not find the user.  When I went back to the Users and Groups page all the objects were there.  Don't see any issues yet.  [Atlassian Bitbucket v4.12.1]

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

938 views 5 18
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot