LDAP Groups Return Different Values Than Expected

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

LDAP group names display the incorrect values in the Group Browser.

Cause

This function returns list of full name or first names:


userAccessor.getMemberNames(group);

Confluence will go look under your group node in ldap. Usually what is under here is a list of members which are identified by CN=SomeUserName }} and Confluence will strip the {{'CN=' and return you the rest. Confluence returns a list of usernames that belong to a group.

This unexpected list can result if usernames are associated to some other attribute rather than the CN attribute, such as full name or first name or some other field assigned to CN instead.

Resolution

There currently is no solution as this is dependant on your LDAP configuration. If the members under a group are identified by something other than CN=username, then the username will not be returned.


Last modified on Feb 26, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.