Discovery Scan - What to test when get error "DSENG649E Failed to retrieve LDAP objects for path"
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
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.