Skip to content

missing entity alias attribute value with #26171

@trutled3

Description

@trutled3

Describe the bug
A clear and concise description of what the bug is.

After upgrading Vault to v1.16.0 from v1.15.1 we are seeing an error when signing in through the ldap auth method stating, Authentication failed: missing entity alias attribute value. I am using active directory.

Screenshot 2024-03-26 at 4 58 29 PM

To Reproduce
Steps to reproduce the behavior:

  1. Enable ldap auth method with config similar to:
  url="<REDACTED>" \
  userattr="sAMAccountName" \
  userdn="<REDACTED>" \
  binddn="<REDACTED>" \
  bindpass="<REDACTED>" \
  groupdn="<REDACTED>" \
  certificate=@ldap_cert.pem \
  insecure_tls=true \
  case_sensitive_names=false \
  starttls=true
  1. Attempt to sign in to Vault with ldap auth method.

Expected behavior
Expected behavior is for ldap auth method behavior to remain the same between v1.15.1 and v1.16.0 with no changes to ldap auth method configuration.

Environment:

  • Vault Server Version (retrieve with vault status): 1.16.0
  • Vault CLI Version (retrieve with vault version): N/A
  • Server Operating System/Architecture: Ubuntu

Vault server configuration file(s):

  url="<REDACTED>" \
  userattr="sAMAccountName" \
  userdn="<REDACTED>" \
  binddn="<REDACTED>" \
  bindpass="<REDACTED>" \
  groupdn="<REDACTED>" \
  certificate=@ldap_cert.pem \
  insecure_tls=true \
  case_sensitive_names=false \
  starttls=true

Metadata

Metadata

Assignees

No one assigned

    Labels

    auth/ldapbugUsed to indicate a potential bugreproducedThis issue has been reproduced by a Vault engineer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions