LDAP/AD working, but "Test get user's memberships with 0 groups retrieved: Failed"

Hi all - got our JIRA instance up and running with sync to AD/LDAP but on the test settings I receive:

"Test get user's memberships with 0 groups retrieved. : Failed"

I am not quite sure what this is trying to do or why it isn't working.

I get "Test user can authenticate : Succeeded" and I can log in as other users, but the group error has me concerned and confused.

Any advice is greatly appreciated!

3 answers


Weird. According to this error it could be the Base DN that could be incorrect, also check the User DN if is correctly informed. After that, try to disable this directoy and create it again, then synchronize again.

If is the case I suggest you to raise a support ticket for a better investigation, and attach the confluence log file and the Directory Configuration Summary information.

Please let us know how it goes.

Hey Jon,

Its also worth looking the type of your Directory, try changing the directory type to Generic and see if this resolves as well.

And if the test is still failing skip it, and try to synchronize it, it could be trying to perform just a check.



Thanks all! It does synchronize - my user window populates from AD w/ all my users, but the check just seemed like something that should work. I recreated it a couple times (once in hSQL and once now in SQL Server 2008 instance) and both "failed". Though, it works. Puzzling.

I just set up JIRA on a fresh OpenLDAP directory. This test appears to fail with a user that has no group memeberships at all. JIRA will sync fine. Once the test is run again and JIRA can retrieve memeberships from a user, then it succeeds.

My guess: not all directories are configured with attributes on the user that denote group membership, and so JIRA will give a failure when it doesn't detect any. If you don't expect it to detect any, then just proceed. Otherwise, check the settings to make sure your users' group membership attribute is correct.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,769 views 18 21
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