CPM - Reconcile Linux/Unix account with AD Domain Account in UPN Format
Objective
In order to use an AD account as the reconcile account for a Unix account, we need to create a second "Dummy" account to reconcile the Unix account. (NOTE: The dummy account is just an instance of the AD domain account but in the UPN format.)
We will then add both this dummy account and the primary AD account to an "Account Group" (see Footnote 1 below). We will do this so that when the primary AD account changes its own password, it will change the password for the entire group which includes the dummy account you created. This dummy account will have the correct username for the Unix target as it will be in the UPN format (username@domain.com). Since the primary AD account remains unchanged, it will still work as intended.
NOTE: It is assumed that the AD domain account can login to the Linux target and has the permissions to reset the target Linux account password.
Environment
Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)
Procedure
- Create a platform for the dummy account:
- Import and duplicate the OOTB Dummy plugin here: https://community.cyberark.com/marketplace/s/#a352J000000pl70QAA-a392J000001h4SEQAY
- Use this article to set extra platform parameters under “Additional Policy Settings”: https://community.cyberark.com/s/article/CPM-Dummy-Plugin-Configuration
- Create the dummy account:
- Add a new account on the new duplicated dummy platform
- Username will be the UPN format (username@domain.com) of the primary AD account
- Address can be the domain.com
- For the dummy account's password, retrieve the password from the primary AD account
- Save the dummy account
- Create a password account group platform:
- Create an account group and add the primary AD account and dummy account to it:
The account group now contains the primary AD account and the dummy account in the UPN format.
- Associate the dummy account as the reconcile account for the target Unix account.
The primary AD account will still be managed as before including password changes on the AD. These changes will now update the password object for the dummy account to keep the passwords in sync.
Please note however that a reconcile on the primary AD account will now behave differently since it is in an account group. See here: https://community.cyberark.com/s/article/00004972
*Footnote 1 - Documentation on Managing/Creating Account Groups.
https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PASIMP/Account-Groups.htm