Certain External Directory does not synchronize every user that matches the filter completely

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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

When setting up Confluence with External Directory, it is expected to have all users meeting the filter to be synchronized into Confluence completely.

However, the successful directory synchronization only synced a certain portion of users into Confluence instead.


Diagnosis

Environment

(warning) External Directories below are known to have a limitation of search limit:

  • Oracle Sun ONE Directory
  • OpenLDAP
  • Jump Cloud LDAP-as-a-Service

Diagnostic Steps

  • Synchronization log looks fine in the atlassian-confluence.log with no failure log

  • However, the synchronization log appears to found a hard limit for the number of users to be synced (eg: 500, 2000, 10000, etc..) like the examples below:

    Sun ONE Directory
    2018-04-02 21:33:40,707 Caesium-2-4 INFO [directory.ldap.cache.RemoteDirectoryCacheRefresher] found [ 2000 ] remote users in [ 2284 ms ]

    Or

    Open LDAP
    2017-11-13 06:45:45 ... [c.a.c.d.ldap.cache.RemoteDirectoryCacheRefresher] found [ 500 ] remote users in [ 41 ms ]

    Or

    Jump Cloud
    2018-07-25 18:53:37,120 INFO [Caesium-1-3] [directory.ldap.cache.RemoteDirectoryCacheRefresher] findAllRemoteUsers found [ 10000 ] remote users in [ 16444 ms ]

Cause

There is some limitation from the LDAP that limits the number of users to be searched thus not all users within the filter will be synchronized to Confluence.

Resolution

Depends which LDAP you are using, look for the limitation that is applied and make the adjustment accordingly.

Oracle Sun ONE DirectoryRefer to this Documentation and adjust the search-size-limit
Open LDAPRefer to this Documentation and adjust the olcSizeLimit
Jump Cloud LDAP-as-a-ServiceContact the support for Jump Cloud to increase the limit



Last modified on Jul 31, 2018

Was this helpful?

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