On-premise Active Directory sync fails with "Length cannot be less than zero" error

book

Article ID: 100051808

calendar_today

Updated On:

Description

Error Message

Error in the ADSCrawler_Output.log

Could not get supplimentary domain infornation, Length cannot be less than zero.

Cause

This error is typically cause by an incorrect or improperly formatted value for the following property 

esa.adscrawler.preferred_dc

Either the preferred domain is incorrect or cannot be reached.  Also, there should not be spaces between any of the values of this property.

Example:  ou=support,dc=veritas, dc=com would fail due to the space after the last comma.

Resolution

  • Option 1: Correct the value of the property
  • Option 2: Remove the property using the Property Browser in System > Support Features.
    If the property is remove, the application will use the default domain entered in Domains to crawl under the Active Directory > On-Prem Discovery tab in System > Directories and Servers

Issue/Introduction

An on-premise Active Directory synchronization task fails immediately after starting the domain crawl.