OpenLDAP only synchronizes 500 user
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
Crowd only limit the synchronization of users from OpenLDAP to 500 users
The following appears in the atlassian-crowd.log
during synchronization
2017-11-17 10:29:52,384 Caesium-2-2 INFO [directory.ldap.cache.RemoteDirectoryCacheRefresher] found [ 500 ] remote users in [ 16 ms ]
Diagnosis
Check if the olcSizeLimit
has been set
Resolution
Ensure that that the olcSizeLimit
has been set to a number bigger than the number of users being synchronized
cat > sizelimit.ldif
dn: cn=config
changetype: modify
replace: olcSizeLimit
olcSizeLimit: 10000
ldapmodify -Q -Y EXTERNAL -H ldapi:/// -f sizelimit.ldif