How can I configure LDAP user and groups objects in the Vault to appear as "User Principal Name" (UPN), in order to use "User Principal Name" LDAP authentication?
88
Created On 11/10/26 10:57 AM - Last Modified 11/10/26 12:58 PM
Question
How can I configure LDAP User and groups Objects in the Vault to appear as "User Principal Name" (UPN), in order to use "User Principal Name" LDAP authentication?
Environment
11.4;11.5;11.6;11.7;12.0;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Vault
Answer
In some environments there is a need to create a Vault users in the format of username@domain-name (User Principal Name) for users that are created according to the LDAP directory.
For example:
Admin@domain.com
This can be done via the PVWA or directly on the LDAPConf.xml file via the PrivateArk Client.
For users objects - In the PVWA go to ADMINISTRATION > System Configuration > LDAP Integration > Profiles > Then select the relevant directory profile (e.g. "MicrosoftADProfile") in the LDAP configuration file and set UserLogonName="UserPrincipalName"
For groups objects – In the PVWA go to ADMINISTRATION > System Configuration > LDAP Integration > LDAP > Directories > Name of the domain > set AppendFriendlyDomainNameToGroup="Yes"
This will append the domain name to Vault group names, that are created according the LDAP directory.
And create Vault user in the format of username@domain-name for users that are created according to the LDAP directory.
Additional Information
Details
Q:
How can I configure LDAP User and groups Objects in the Vault to appear as "User Principal Name", in order to use "User Principal Name" LDAP authentication?
A:
In some environments there is a need to create a Vault users in the format of username@domain-name (User Principal Name) for users that are created according to the LDAP directory.
For example:
Admin@domain.com
This can be done via the PVWA or directly on the LDAPConf.xml file via the PrivetArk Client.
For users objects - In the PVWA go to ADMINISTRATION > System Configuration > LDAP Integration >Profiles> Then select the relevant directory profile (e.g. "MicrosoftADProfile") in the LDAP configuration file, set UserLogonName="UserPrincipalName"
For groups objects – In the PVWA go to ADMINISTRATION > System Configuration > LDAP Integration >LDAP > Directories > Name of the domain > set AppendFriendlyDomainNameToGroup="Yes"
This will append the domain name to Vault group names, that are created according the LDAP directory.
And create Vault user in the format of username@domain-name for users that are created according to the LDAP directory.