The Directory connector stops after 20 sec. with the failure: Details: Length cannot be less than zero. Parameter name: length
In addition the debug log file showed the following error:
Synchronization steps aborted. Details: Operation is not valid due to the current state of the object.
This issue was caused by a missing CN value for an AD object. In addition this object also had a missing DisplayName value.
To resolve this issue the CN value was populated and the connector run again.
Once the CN value was populated the Directory connector ran successfully without any error.