Problems with a synchronzation of larger number of users from a directory.

  • 7024574
  • 20-Apr-2020
  • 20-Apr-2020

Environment

Vibe 4.0.6
Vibe 4.0.7

Situation

Each time you initiate an LDAP synchronization, you will see in the appserver.log file a line like:

2020-04-13 08:58:57,881 INFO  [https-jsse-nio2-8443-exec-8] [org.kablink.teaming.module.ldap.impl.LdapModuleImpl] - ldap url used to search for users: ldap://myldap.com:389
2020-04-13 08:58:57,881 INFO  [https-jsse-nio2-8443-exec-8] [org.kablink.teaming.module.ldap.impl.LdapModuleImpl] - Starting to sync users, syncUsers()
2020-04-13 08:58:57,882 INFO  [https-jsse-nio2-8443-exec-8] [org.kablink.teaming.module.ldap.impl.LdapModuleImpl] -     User page size: 1500

The user page size 1500 is a default value.

Resolution

There might be a situation when this default limit can cause you problems in larger environments. There is a parameter that you can use to increase this value:

 ldap.sync.users.page.size=<new value>

Put this new statement in the ssf-ext.properties file and restart the Vibe service. You will notice this change in the appserver.log, as in example:

2020-04-14 08:17:58,769 INFO  [https-jsse-nio2-8443-exec-5] [org.kablink.teaming.module.ldap.impl.LdapModuleImpl] - ldap url used to search for users: ldap://myldap.com:389
2020-04-14 08:17:58,769 INFO  [https-jsse-nio2-8443-exec-5] [org.kablink.teaming.module.ldap.impl.LdapModuleImpl] - Starting to sync users, syncUsers()
2020-04-14 08:17:58,769 INFO  [https-jsse-nio2-8443-exec-5] [org.kablink.teaming.module.ldap.impl.LdapModuleImpl] -     User page size: 2000

Once this is done, you can test LDAP sync of larger users group from the directory and see if that helped.