Does anyone know how a Vault user (transparent) that is authenticated to the Vault using a certificate (PKI) gets matched to the actual Active Directory (LDAP) user?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does anyone know how a Vault user (transparent) that is authenticated to the Vault using a certificate (PKI) gets matched to the actual Active Directory (LDAP) user?

L1 Bithead

When using Vault users (defined directly in the Vault) the binding seems to be the Distinguished name (or distinguished name typically found in the certificate subject) or UPN (if using PKIPN). Is this the same binding principal when using LDAP or is there a more qualified check being made?

1 accepted solution

Accepted Solutions

L7 Applicator

Hi @John Laerum​ 

 

Yes the Vault extracts the Subject DN from the certificate and searches for a matching DN in LDAP. If a user in AD has that exact DN, they are granted access and if AD users are not stored with their full Subject DN, this may not work.

 

And if UPN is used,it is mapped to the sAMAccountName or userPrincipalName in Active Directory.

 

Please check that AD users have the correct DN/UPN matching the certificate

 

Hope it helps !

 

 

View solution in original post

2 REPLIES 2

L7 Applicator

Hi @John Laerum​ 

 

Yes the Vault extracts the Subject DN from the certificate and searches for a matching DN in LDAP. If a user in AD has that exact DN, they are granted access and if AD users are not stored with their full Subject DN, this may not work.

 

And if UPN is used,it is mapped to the sAMAccountName or userPrincipalName in Active Directory.

 

Please check that AD users have the correct DN/UPN matching the certificate

 

Hope it helps !

 

 

L1 Bithead

Thanks! This was what I expected.

  • 1 accepted solution
  • 122 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!