Error while gathering AD distinguished name: Error connecting to AD object LDAP://RootDSE: The Workstation service has not been started. (-2147022758)
search cancel

Error while gathering AD distinguished name: Error connecting to AD object LDAP://RootDSE: The Workstation service has not been started. (-2147022758)

book

Article ID: 176857

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

Managed resources stop being merged with their AD imported resources as the managed resource loses its name.domain value when running basic inventory.

The following warning is recorded in the agent log file:

<event date='Jan 30 08:46:41' severity='2' hostName='hostname' source='BasicInventory' module='AeXBasicInventory.dll' process='AeXNSAgent.exe' pid='1412' thread='1436' tickCount='715498046' >
  <![CDATA[Error while gathering AD distinguished name: Error connecting to AD object LDAP://RootDSE: The Workstation service has not been started. (-2147022758)]]>
</event>

Cause

The NSAgent will not be able to obtain the domain name if the Workstation service is not running as it will not be able to perform its domain function calls.

Resolution

Ensure that the Workstation service is running at all times.

Applies To
All versions of the NSAgent/NSClient