Skip to content
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

Add support for case_sensitive_names in the vault_ldap_auth_backend #1176

Merged
merged 7 commits into from
Feb 10, 2022
Merged

Add support for case_sensitive_names in the vault_ldap_auth_backend #1176

merged 7 commits into from
Feb 10, 2022

Conversation

gothrek22
Copy link
Contributor

Fixes #894

This PR is an extension of @stokkie90 fix that was proposed in #895

I've updated the docs and tests, plus added switched to GetOkExists when checking case_sensitive_names as recommended by @catsby.

I've also set the default to false to be consistent with Vault's behaviour.

stokkie90 and others added 5 commits November 5, 2020 11:18
Switch check for case_sensitive_names to GetOkExists, this should fix the issue of a `false` won't being `ok` in case insensitivity is on.
@hashicorp-cla
Copy link

hashicorp-cla commented Sep 21, 2021

CLA assistant check
All committers have signed the CLA.

@gothrek22
Copy link
Contributor Author

@vinay-gopalan @benashz I see you did some work in the repo recently, could you guys review this and merge it?

@benashz benashz added this to the 3.3.0 milestone Feb 10, 2022
Copy link
Contributor

@benashz benashz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nit, otherwise LGTM!

vault/resource_ldap_auth_backend.go Outdated Show resolved Hide resolved
@benashz
Copy link
Contributor

benashz commented Feb 10, 2022

Any recurring test failures in CI will be addressed a separate PR.

@benashz benashz merged commit e4a1f4a into hashicorp:main Feb 10, 2022
@gothrek22 gothrek22 deleted the patch-1 branch February 14, 2022 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vault_ldap_auth_backend does not support setting case_sensitive_names
4 participants