CPM - "Code: 8005, Error: Execution error. xxxxx process failed - Invalid, expired, locked or disabled user. Validate username and password. Error code:8005"
335
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:11 PM
Symptom
When using the Microsoft Windows Domain via LDAP plugin and the authentication type is set to Basic, our documentation states that Username is a supported format for the username (https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/Plugins/plugin-LDAP.htm#AccountParameters). In the Microsoft Active Directory domain, this would be the sAMAccountName value on the target account. However, upon Verify, Change, or Reconcile, you may get this error:
"...Code: 8005, Error: Execution error. xxxxx process failed - Invalid, expired, locked or disabled user. Validate username and password. Error code:8005"
Environment
11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;12.7;13.0 Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM)
Central Policy Manager (CPM)
Windows Domain via LDAP
Cause
This is due to KI#00019947: https://community.cyberark.com/s/article/KI00019947
Resolution
Include the use of the optional property user DN on the account: https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/Plugins/plugin-LDAP.htm#AccountParameters