LDAP users synchronizing with Confluence without groups

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

If your LDAP configuration of security groups are in a particular OU, it may be difficult to determine how to bring users in from LDAP and the groups they are associated with.

Diagnosis

Environment

  • LDAP connection to Confluence

Diagnostic Steps

  • If you have a connection to LDAP and the users are being synchronized without groups

Resolution

With an LDAP configuration that utilizes security groups in an OU, it is necessary to separate where the users and groups are coming from.

  • We will need the User filter to pull the particular users (in the setup of the directory, under User Configuration)

  • The Group filter (in the setup of the directory, under Group Configuration) will need to be pointed to the OU where the general user accounts exist (and security groups).

With these settings, the correct users will be synchronized with Confluence, and any security groups will be associated with them.

Example:

1 2 (&(objectCategory=Person)(sAMAccountName=*) ((memberOf=cn=confluence-users,ou=Groups,dc=sydney,dc=atlassian,dc=com)
  • This will pull all users in the confluence-users group (each individual account)

  • If the security groups are managed elsewhere, we will need to provide that location in the group settings:

1 (&(objectCategory=Group)((ou=confluence-security)))

This example will pull all users from the

confluence-users

group, but synchronize security groups associated with that account in the

confluence-security

OU to Confluence.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.