You can manage advanced configuration settings to define the LDAP maximum number of results per search query.
Specify the ST_DB_LDAP_MAX_RESULTS
setting in the [Directory]
section of the sametime.ini
file to define the maximum number of entries that can be returned in a single search when searching for people or groups. The default value is 1000
Parent topic: Tuning Sametime LDAP settings