LDAP_SIZELIMIT_EXCEEDED
Created: 2012-04-20 08:09:59Modified: 2017-06-22 11:35:45
Tags: SimpleSync
SimpleSync versions prior to v4.6 may throw the error LDAP_SIZELIMIT_EXCEEDED on the ‘Microsft Exchange System Objects’ container. This occurs because this container is often very large, resulting in a sizelimit error when queried by ldap.
If you are not syncing public folders you do not need to query this container.
You can avoid the SizeLimit error on this container by adding the following rule to the Exclude tab of your connection.
dn:CN=Microsoft Exchange System Objects
As of v4.6, SimpleSync ldap queries were enahanced to use paging, so the sizelimit error should no longer occur on the System Objects container.
If you are running v4.6 (or later) and you still receive LDAP_SIZELIMIT_EXCEEDED errors, then it is likely that your Source Map Template is incorrect. On the General tab of your connection, verify the Source Map Template correctly identifies your source directory. If it is incorrect, you must recreate your connection using Connection > New Connection and be sure to select the appropriate map templates for your connection.
If your sync is not throwing an error, but hangs, it is possible your connection is hanging on this large container. You can go ahead and add the above recommended exclude and see if it helps.
After making your change, be sure to run a Discovery/Simulation to verify results before running a Sync.