LDAP synchronization never completes - Too many users added to cache

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.

Problem

LDAP appears to synchronize without end. In Administration > User Directories, it can be seen that more users are being added to the LDAP cache than anticipated.

For example, an instance that anticipates 400 users:

Synchronising for 1655s…

Last synchronised at 2/23/16 10:53 AM (took 2s).

Adding 34,556 users to the cache.

Cause

This will happen when only the base DN information is provided and filter settings are too broad or the default settings have not been modified.

Resolution

Ensure that user and group DN settings are configured so filtering narrows down how many users are synced/added to cache.

For reference, use these resources that discuss creating LDAP filters: 

Restricting LDAP Scope for User and Group Search

How to write LDAP search filters

 

Last modified on Apr 14, 2016

Was this helpful?

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