Table of Contents
< All Topics
Print

[VDI] VDC Only Imports 2000 Users From Open LDAP

Issue Description

User has more than 2000 users to be imported, when importing LDAP users the operation logs show that only 2000 users are updated.

Error/Warning Information
file

Handling Process

  1. Check on the AD, which has more than 2000 users.

  2. Modify the value of pageSize in /sf/etc/sangfor/ssl/ldapCgi.conf and /sf/mfs/etc/sangfor/ssl/ldapCgi.conf

  3. Change according to need, in our case, we modified to 6000.

  4. After the modification, restart importldap. Restarting the service does not affect the production.
    Command: systemctl restart sangfor-importldap

Root Cause

The reason is that the customer’s LDAP server does not support paging, so we get only 2000 users at a time.

Solution

  1. Modify the value of pageSize in /sf/etc/sangfor/ssl/ldapCgi.conf and /sf/mfs/etc/sangfor/ssl/ldapCgi.conf

  2. After the modification, restart importldap. Restarting the service does not affect the production.
    systemctl restart sangfor-importldap