LDAP user mapping based on UPN, if UPN differs from sAMAccountName
90
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:07 PM
Objective
In our scenario, the UserPrincipalName (UPN) is completely different than the sAMAccountName (SAM) + a domain. If the sAMAccountName is "jdoe", the UPN is *not* "jdoe@company.com" but "jdoe@companynetwork.com". Is it possible to map users into the Vault based on this UPN, instead of mapping based on the SAM and appending a domain?
Environment
9.7;9.8;9.9;9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11
Procedure
This is possible. What needs to be done is to change the UserLogonName within the MicrosoftADProfile.ini to be UserPrincipalName.
1. Logon through the PVWA with a user who is part of Vault Admins.
2. Navigate to Configuration Options, and select LDAP Integration
3. Make a copy of the MicrosoftADProfile.ini so that this can easily be reverted
4. Change the UserLogonName within the MicrosoftADProfile.ini to be UserPrincipalName
5. Click Apply, then Ok.
6. This can be tested immediately as long as the vault refreshes the LDAP parameters