Discovery Scan - What to test when get error "DSENG649E Failed to retrieve LDAP objects for path"

Discovery Scan - What to test when get error "DSENG649E Failed to retrieve LDAP objects for path"

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


Symptom


Discovery scans not working properly. Scans not completing.

DNS Trace log:

DSENG649E Failed to retrieve LDAP objects for path: OU=xxx,dc=xxx,dc=xxx Exception data: System.DirectoryServices.DirectoryServicesCOMException (0x8007202B)


DiscoveryEngine log

Error in running scan: System.Exception: Failed to retrieve a list of machines from path. ---> System.DirectoryServices.DirectoryServicesCOMException: A referral was returned from the server.



Environment


14.6 Privilege Cloud Discovery and Accounts Feed

PCloud ISPSS Discovery Scan



Resolution


Use this article to test outside Idira to make sure that works

https://community.cyberark.com/s/article/Discovery-Scan-Troubleshooting-connectivity-issue-with-Domain-Controller-and-retrieve-LDAP-objects

 

Make sure the scan account used password does NOT contain \.  This is due to bug: https://community.cyberark.com/s/article/KI00023904

 

Collect the information from output of the script "TestDomainGroupEnumeration.ps1" attached to this article

  • Update the value for $domain, $username and $password with the value per your env.
  • Run it from the connector machine and attach a screenshot of the result.
  • This is to see if scanning with the user works as expected.

 



Actions
  • Print
  • Copy Link

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