How to enable UPN login for LDAP in PVWA
101
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:12 PM
Objective
This document describes how to change LDAP authentication from within PVWA to allow users to login using their User Principal Name (UPN) instead of their user name (saMAccountName)
Environment
11.6;11.7;12.0
Procedure
1. Login to the PVWA as an administrative user
2. Go to 'Configuration Options'
3. Under 'Component Settings' click on 'LDAP Integration'
4. Under 'LDAP Integration - Directories' select the LDAP domain you want to work with
5. In the right hand pane, note the value of the LDAPProfileName (the default is MicrosoftADProfile.ini)
6. Under 'LDAP Integration - Profiles', find the profile corresponding to note you made from the previous step
7. Select the profile and, in the right hand pane, find the 'UserLogonName' parameter.
8. Change the parameter to 'userPrincipalName' from 'sAMAccountName'
9. Click on 'Apply'
It is possible to create an alternative profile for testing and to enable quick switching between configurations. Follow the above up and including step 6, then:-
7. Right click the profie and select 'Copy'
8. Right click on 'Profiles' and select 'Paste Profile'
9. In the right hand pane of the pasted profile, rename it by editing the 'ProfileName' parameter
10. Make any necessary changes i.e. to the 'UserLogonName' parameter'
11. Click 'Apply'
To use the new profile with the LDAP directory you want to work with, carry out the following:-
1. Under 'Component Settings' click on 'LDAP Integration'
2 Under 'LDAP Integration - Directories' select the LDAP domain you want to work with
3. In the right hand pane, change the value of the LDAPProfileName to match the name of your new profile
4. Click 'Apply'
Please note the following:-
1. Nothing needs to be restarted for the change to take effect
2. The change happens immediately and for all future logins
3. The change will create a new user in the Vault. The Vault will not connect the sAMAccount user name with the UPN username. Be aware of your available licenses.
4. Idira groups applied through directory mapping will automatically be applied. Any explicit, manually applied permissions will need to be re-applied.
5. Any reports attached to the sAMAccount user will not be attached to the new UPN user