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

fix: Allow for lowercase token in ldap dn #563

Merged
merged 1 commit into from
May 22, 2024

Conversation

fryshorts
Copy link
Contributor

Minio recently changed behaviour by using case sensitive ldap queries. This makes it necessary to specify the distinguished name for user/group policy attachments exactly in the same case as the server.

This merge request updates the validation regex to allow for lowercase LDIF field names in the dn (e.g. CN=foo vs cn=foo).

The relevant Minio MR: minio/minio#19358

As an alternative the regex could be made case insensitive with (?i)^... but then also something like Cn=foo or cN=foo would be valid.

Update the validation regex to allow for lowercase LDIF field names in
the dn (e.g. CN=foo vs cn=foo).

Minio recently changed behaviour by using case sensitive ldap queries.
This makes it necessary to specify the distinguished name for user/group
policy attachments exactly in the same case as the server.
Copy link
Collaborator

@felladrin felladrin left a comment

Choose a reason for hiding this comment

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

That's great! Pretty clear change!

Thanks and congratulations for your first pull request here, @fryshorts! 🎉

@felladrin felladrin merged commit 87d930a into aminueza:main May 22, 2024
2 checks passed
szinn pushed a commit to szinn/k8s-homelab that referenced this pull request May 23, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [minio](https://registry.terraform.io/providers/aminueza/minio)
([source](https://togithub.com/aminueza/terraform-provider-minio)) |
required_provider | patch | `2.2.0` -> `2.2.1` |

---

### Release Notes

<details>
<summary>aminueza/terraform-provider-minio (minio)</summary>

###
[`v2.2.1`](https://togithub.com/aminueza/terraform-provider-minio/releases/tag/v2.2.1)

[Compare
Source](https://togithub.com/aminueza/terraform-provider-minio/compare/v2.2.0...v2.2.1)

#### What's Changed

- Fix: Allow for lowercase token in ldap dn by
[@&#8203;fryshorts](https://togithub.com/fryshorts) in
[aminueza/terraform-provider-minio#563

#### New Contributors

- [@&#8203;fryshorts](https://togithub.com/fryshorts) made their first
contribution in
[aminueza/terraform-provider-minio#563

**Full Changelog**:
aminueza/terraform-provider-minio@v2.2.0...v2.2.1

</details>

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzQuMyIsInVwZGF0ZWRJblZlciI6IjM3LjM3NC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL3BhdGNoIl19-->

Co-authored-by: repo-jeeves[bot] <106431701+repo-jeeves[bot]@users.noreply.github.com>
kireque pushed a commit to kireque/home-ops that referenced this pull request May 23, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [minio](https://registry.terraform.io/providers/aminueza/minio)
([source](https://togithub.com/aminueza/terraform-provider-minio)) |
required_provider | patch | `2.2.0` -> `2.2.1` |

---

### Release Notes

<details>
<summary>aminueza/terraform-provider-minio (minio)</summary>

###
[`v2.2.1`](https://togithub.com/aminueza/terraform-provider-minio/releases/tag/v2.2.1)

[Compare
Source](https://togithub.com/aminueza/terraform-provider-minio/compare/v2.2.0...v2.2.1)

#### What's Changed

- Fix: Allow for lowercase token in ldap dn by
[@&#8203;fryshorts](https://togithub.com/fryshorts) in
[aminueza/terraform-provider-minio#563

#### New Contributors

- [@&#8203;fryshorts](https://togithub.com/fryshorts) made their first
contribution in
[aminueza/terraform-provider-minio#563

**Full Changelog**:
aminueza/terraform-provider-minio@v2.2.0...v2.2.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzQuMyIsInVwZGF0ZWRJblZlciI6IjM3LjM3NC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS90ZXJyYWZvcm0iLCJ0eXBlL3BhdGNoIl19-->

Co-authored-by: kireque-bot[bot] <143391978+kireque-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants