vault/sdk/helper/ldaputil
John-Michael Faircloth 7d575bf979
auth/ldap: fix login errors (#26200)
* 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 https://github.com/hashicorp/vault/issues/26171
Closes https://github.com/hashicorp/vault/issues/26183

* changelog

* go mod tidy

* go get cap/ldap@latest and go mod tidy
2024-03-28 13:45:43 -05:00
..
client_test.go Address LDAP issues (#22249) 2023-08-08 13:49:26 -07:00
client.go Add worker pool for LDAP group lookup (#22659) 2023-08-31 19:34:23 +00:00
config_test.go Correct Default for MaximumPageSize (#20453) 2023-05-17 20:56:53 +00:00
config.go auth/ldap: fix login errors (#26200) 2024-03-28 13:45:43 -05:00
connection.go auth/ldap: fix login errors (#26200) 2024-03-28 13:45:43 -05:00
ldap.go sdk/ldap: update interface to use DialURL (#20200) 2023-04-17 16:34:10 -04:00