CPM - Auto-detection will stop (Error: Failed to initialize LDAP connection account).
112
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 16:01 PM
Symptom
When attempting to run Auto-Detection, it will fail with the following errors in the pm.log:
CACPM049E Error getting Safe VaultInternal from Vault CPM Vault (error: ITATS040E You are unauthorized to monitor Safe VaultInternal.).
CACPM433E Auto-detection - An error occurred while trying to process machine set #0. Auto detection will stop (Error: Failed to initialize LDAP connection account).
Environment
Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM)
Cause
The CPM user attempting to run Auto-Detection either doesn't have the correct permissions or is not assigned to the LDAP Connection account.
Resolution
Make sure the Password Manager user (CPM user) that is attempting to perform the Auto-detection has permission to the Safe where the LDAP Connection account is stored. It's very common to use the VaultInternal safe; in that case, you have to make sure the Safe is assigned by CPM.
Note: By default, the safe VaultInternal is not assigned by any CPM.
Once that's done, attempt to run the Auto-Detection again.