PSMP support for target domain account using UPN
87
Created On 11/10/26 10:57 AM - Last Modified 11/10/26 16:09 PM
Question
This article will summarize the steps needed to be performed in order to setup an account in PVWA together with a specific CPM platform that will allow connections through PSM for SSH with accounts specified in this format.
Environment
10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;14.5 Privileged Access Manager (PAM, self-hosted) PSMP
Answer
Limitations:
Background: The PSMP is hardcoded to pass information from the Account Object, when establishing the ssh connection from the PSMP to the Target Server. It will pass the {username} and {address} (It will also pass {port} if configured on the Account Object) Thus, the only current workaround to pass the UPN (user@domain) for user session logon, is to have it configured on the Account Object as such for {username}. There is currently only one Platform that will accept UPN configured here, and will also be able to manage the credential with CPM. That Platform is: Windows Domain Accounts via LDAP
- This platform may not work with your LDAP environment, for CPM management.
- Since the Account Object stores the {username} as a 'UPN', all other Connection Components will pass the 'UPN', which may not work with other Connection Component usages.
- Since the Account Object stores the {username} as a 'UPN', all other Connection Components will pass the 'UPN', which may not work with other Connection Component usages.
Pre-Requisites:
-
Domain with certificates for LDAPS connection
Install Domain’s CA cert as a Trusted Root CA on the CPM machine

Activate platform: ,

Add PSMP connection components to this platform
Activate platform: ,
Add PSMP connection components to this platform
-
PSMP-SSH
-
PSMP-SCP
-
PSMP-SFTP
-
PSMP-RSYNC
For PSMP-SSH connection component, create a User Parameter “PSMRemoteMachine”

Create account
Create account
-
Username – UPN
-
Address – Domain DNS address
-
Platform – Windows Domain Accounts via LDAP
Configure additional delimiter for PSMP
|
Mode
|
File
|
Value
|
|
Custom SSHD
|
/etc/ssh/sshd_config
|
PSMP_AdditionalDelimiter %
|
|
Integrated
|
/etc/opt/CARKpsmp/components/components.conf
|
AdditionalDelimiter=%
|
Restart PSMP service on PSMP machine
Restart CPM service on CPM machine
SSH connection Syntax
ssh <VU>%domuser@upndemo768.Domain.com#upndemo768.Domain.com%<TA>@<PSMP>
Connect with vault user to target domain account
Connect with domain user to target domain account
In order to login using UPN as <VU> configure the following:
-
AddDomainToUserName = Yes
-
DomainName = domain name