-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ldap group search anonymous bind regression in 1.16.0 #26183
Labels
auth/ldap
bug
Used to indicate a potential bug
reproduced
This issue has been reproduced by a Vault engineer
Comments
Thank you for reporting @cjnosal! We are working on a fix |
fairclothjm
added
the
reproduced
This issue has been reproduced by a Vault engineer
label
Mar 27, 2024
fairclothjm
added a commit
that referenced
this issue
Mar 28, 2024
This fixes 2 ldap auth login errors * Missing entity alias attribute value * Vault relies on case insensitive user attribute keys for mapping user attributes to entity alias metadata. This sets the appropriate configs in the cap library. * ldap group search anonymous bind regression * Anonymous group searches can be rejected by some LDAP servers if they contain a userDN. This sets the configs in the cap library to specify unauthenticated binds for anonymous group searches should exclude a DN. Closes #26171 Closes #26183
fairclothjm
added a commit
that referenced
this issue
Mar 28, 2024
* auth/ldap: fix login errors This fixes 2 ldap auth login errors * Missing entity alias attribute value * Vault relies on case insensitive user attribute keys for mapping user attributes to entity alias metadata. This sets the appropriate configs in the cap library. * ldap group search anonymous bind regression * Anonymous group searches can be rejected by some LDAP servers if they contain a userDN. This sets the configs in the cap library to specify unauthenticated binds for anonymous group searches should exclude a DN. Closes #26171 Closes #26183 * changelog * go mod tidy * go get cap/ldap@latest and go mod tidy
fairclothjm
added a commit
that referenced
this issue
Mar 28, 2024
* auth/ldap: fix login errors This fixes 2 ldap auth login errors * Missing entity alias attribute value * Vault relies on case insensitive user attribute keys for mapping user attributes to entity alias metadata. This sets the appropriate configs in the cap library. * ldap group search anonymous bind regression * Anonymous group searches can be rejected by some LDAP servers if they contain a userDN. This sets the configs in the cap library to specify unauthenticated binds for anonymous group searches should exclude a DN. Closes #26171 Closes #26183 * changelog * go mod tidy * go get cap/ldap@latest and go mod tidy
digivava
pushed a commit
that referenced
this issue
Mar 28, 2024
* auth/ldap: fix login errors This fixes 2 ldap auth login errors * Missing entity alias attribute value * Vault relies on case insensitive user attribute keys for mapping user attributes to entity alias metadata. This sets the appropriate configs in the cap library. * ldap group search anonymous bind regression * Anonymous group searches can be rejected by some LDAP servers if they contain a userDN. This sets the configs in the cap library to specify unauthenticated binds for anonymous group searches should exclude a DN. Closes #26171 Closes #26183 * changelog * go mod tidy * go get cap/ldap@latest and go mod tidy
fairclothjm
added a commit
that referenced
this issue
Apr 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
auth/ldap
bug
Used to indicate a potential bug
reproduced
This issue has been reproduced by a Vault engineer
Describe the bug
ldap login fails after upgrading 1.15.6->1.16.0
To Reproduce
Steps to reproduce the behavior:
0.
apt install vault=1.16.0-1
vault auth enable ldap
vault login -no-print -method=ldap
and enter valid username and passwordExpected behavior
DN shouldn't be sent when performing anonymous group search
Environment:
vault status
): 1.16.0vault version
):Vault v1.16.0 (c20eae3e84c55bf5180ac890b83ee81c9d7ded8b), built 2024-03-25T12:01:32Z
Vault server configuration file(s):
Additional context
The ldap configuration worked with vault 1.15.6.
The LDAP server allows anonymous reads.
The text was updated successfully, but these errors were encountered: