What is the meaning of Primary Group in LDAP sync?

I would like to kno what's the meaning, purpose of Primary Group on LDAP sync. Applies for Crowd, JIRA and Confluence.

1 answer

1 accepted

1 vote
Accepted answer

As far as I know, Primary Group is a term that only exist in MSAD. The explanation to this kind of group as per this article is the following:

This behavior occurs because Microsoft Windows 2000 has a group membership limitation of 5000 users. This behavior is due to a limitation in the size of the attribute that is being replicated. The primary group allows one group per user to hold more than 5000 users. By default, every user is a member of the Domain Users group.

The Microsoft Windows Server 2003 Forest mode removes this group membership limitation. However, the primary group is still used in the same way.

Also, a Primary Group list its members in a different way, it does not include attribute like member or memberOf. From Crowd version 2.7 onwards the primaryGroupId attribute is pulled from AD as indicated in this ticket, however it's still not in Confluence and JIRA.


Thanks, if that's the case, I guess there is little use for it in my case. I was looking more for a way to identify anyone from AD. As you know Crowd, JIRA and Confluence do not map authenticated user to a group, meaning that it's imposibile to distinguish between any-authenticated user and any-user.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,069 views 4 9
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