How to use customized AD attribute to allow login to PVWA
79
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:51 PM
Objective
This article describes how to use a customized AD attribute to allow login to PVWA
Environment
Privileged Access Manager (PAM, self-hosted) Password Vault Web Access
Procedure
Firstly a new attribute needs to be created in the AD schema as per the following document:-
https://windowstechno.com/custom-attributes-creation-in-active-directory/
An existing attribute will also work as long as it is verified to be unused.
Once created, enable 'Advanced Features' in Active Directory Users and Computers on the Domain Controller. Then right click on a user account, go to 'Properties' and click on the 'Attribute Editor' tab. Select the required attribute, click on Edit and then enter a required value. The example below shows the value of Cyberark added to the 'l' attribute on the user account.
Then create a directory mapping via the PrivateArk Client with an ldap query filter like this which follows the example above:-
(&(ObjectClass=user)(l=CyberArk))
When this is completed, the user will be able to login without being a member of an AD group.