Discovery Scan - Troubleshooting connectivity issue with Domain Controller and retrieve LDAP objects

Discovery Scan - Troubleshooting connectivity issue with Domain Controller and retrieve LDAP objects

129
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:11 PM


Objective


This article is intended to help find connectivity issue between the connector server and AD as well as retrieve LDAP objects.
LDP.exe is a Microsoft tool, natively installed on Domain Controllers.  It is also included in RSAT (Remote Server Administration Tool).



Environment


14.6 Privilege Cloud Discovery

Procedure


Privilege Cloud Discovery Scan supports 636 with SSL by default.  It is communicating from connector server.  Please use the attached ldp.exe from connector server.

Please use this article to make sure the 636/SSL connection using the same scanner account used for scan can connect and bind successfully:  https://community.cyberark.com/s/article/How-to-use-LDP-EXE-to-check-connectivity-and-access-to-AD

Once bind successfully, go to browse ->Search, put the range as base you want to scan, for example: OU=CPM,OU=Support,DC=CyberArk,DC=com

No need to set filter unless you have filter setup in your config.

 

Select Subtree and Run.  Does it return any machines or same error message you got from discovery scan, such as 

In DS_console log

DSENG014E Failed to retrieve LDAP objects for path: OU=CPM,OU=Support,DC=CyberArk,DC=LOCAL. Error message - The server is not operational.

 

DSENG036E Getting Machines by a Filter Failed.

In DiscoveryEngine.log

Failed to retrieve a list of machines from 'OU=CPM,OU=Support,DC=CyberArk,DC=local' path in 'Active Directory' source.

 

 

You can download the zip log file when you select the three dots from your scan in the Discovery Scan page.  In the zip, you will see DiscoveryEngine.log; under Disocvery_Scan_Targets folder, you will see the detail logs, you can start from DM_console or DS_tace_xxx log.

 

If you want support 389 without SSL, please refer to this article:

https://community.cyberark.com/s/article/Discovery-Scan---How-to-config-Discovery-new-to-support-none-SSL-LDAP-using-port-389 

 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001a35CAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail