Description:
I use LDAP without pagination (by setting LDAPP_Search_Page_Size to 0), because my LDAP Server is not able to provide pragination. When I use the LDAP Sync Feature (by hand or by cronjob), 500 users are imported at maximum. I guess this is because of the missing pagination feature, but my LDAP sends all ~800 users.
Can you increase the default value or make it configurable?
Thank you!!!
Server Setup Information:
- Version of Rocket.Chat Server: 0.60.1
- Database Migration: 105
- Operating System: linux 3.10.0-693.el7.x86_64 x64
- Deployment Method(snap/docker/tar/etc): docker
- Number of Running Instances: 1
- Node Version: v8.9.3
Steps to Reproduce:
- Configure LDAP with more than 500 users
- set LDAPP_Search_Page_Size to 0
- set Search_Size_Limit to 1000
- Execute LDAP_Sync_Now
Expected behavior:
All LDAP Users shoud be imported (more than 500).
Actual behavior:
Only 500 users are imported.
After log message LDAPSync ➔ info Import running. Users imported until now: 500 import stops.
Relevant logs:
20171229-11:58:44.846(0) rocketchat_logger rocketchat_logger.js:278 LDAPSync ➔ info Import running. Users imported until now: 500
Description:
I use LDAP without pagination (by setting LDAPP_Search_Page_Size to 0), because my LDAP Server is not able to provide pragination. When I use the LDAP Sync Feature (by hand or by cronjob), 500 users are imported at maximum. I guess this is because of the missing pagination feature, but my LDAP sends all ~800 users.
Can you increase the default value or make it configurable?
Thank you!!!
Server Setup Information:
Steps to Reproduce:
Expected behavior:
All LDAP Users shoud be imported (more than 500).
Actual behavior:
Only 500 users are imported.
After log message
LDAPSync ➔ info Import running. Users imported until now: 500import stops.Relevant logs:
20171229-11:58:44.846(0) rocketchat_logger rocketchat_logger.js:278 LDAPSync ➔ info Import running. Users imported until now: 500