LDAPSYNC fails with connection closed
XinyuWu 27000586M2 Visits (4309)
In LDAPSYNC, if a large chunk of data takes a long time to process and the processing time exceeds the Active Directory’s idle connection timeout setting (MaxConnIdleTime), it can cause the Active Directory to close the connection which leads to synchronization failure.
LDAPSYNC fails with errors like these:
BMXAA6752E - Group synchronization could not be performed because of error connection closed. The error count was 148. See the associated message. Correct the problem and try to synchronize again.
BMXAA6752E - Group synchronization could not be performed because of error Connection reset. The error count was 170. See the associated message. Correct the problem and try to synchronize again.
Increase the value of MaxConnIdleTime on the Active Directory server so that it is larger than the processing time of the largest chunk of data.
MaxConnIdleTime is the maximum time in seconds that the client can be idle before the LDAP server closes the connection. If a connection is idle for more than this time, the LDAP server returns an LDAP disconnect notification. The default value of MaxConnIdleTime is 900 seconds.