minio/internal/config/identity/ldap
Aditya Manthramurthy c9e9a8e2b9
fix: ldap: use validated base DNs (#19406)
This fixes a regression from #19358 which prevents policy mappings
created in the latest release from being displayed in policy entity
listing APIs.

This is due to the possibility that the base DNs in the LDAP config are
not in a normalized form and #19358 introduced normalized of mapping
keys (user DNs and group DNs). When listing, we check if the policy
mappings are on entities that parse as valid DNs that are descendants of
the base DNs in the config.

Test added that demonstrates a failure without this fix.
2024-04-04 11:36:18 -07:00
..
config.go Update to minio/pkg/v2 (#17967) 2023-09-04 12:57:37 -07:00
help.go Redact all secrets from config viewing APIs (#17380) 2023-06-23 07:45:27 -07:00
ldap.go fix: ldap: use validated base DNs (#19406) 2024-04-04 11:36:18 -07:00
legacy.go use LDAP config from minio/pkg to share with console (#15810) 2022-10-07 22:12:36 -07:00