mirror of
https://github.com/minio/minio.git
synced 2025-11-08 21:24:55 -05:00
ldap: improve normalization of DN values (#19358)
Instead of relying on user input values, we use the DN value returned by the LDAP server. This handles cases like when a mapping is set on a DN value `uid=svc.algorithm,OU=swengg,DC=min,DC=io` with a user input value (with unicode variation) of `uid=svc﹒algorithm,OU=swengg,DC=min,DC=io`. The LDAP server on lookup of this DN returns the normalized value where the unicode dot character `SMALL FULL STOP` (in the user input), gets replaced with regular full stop.
This commit is contained in:
committed by
GitHub
parent
139a606f0a
commit
7e45d84ace
4
go.mod
4
go.mod
@@ -54,7 +54,7 @@ require (
|
||||
github.com/minio/madmin-go/v3 v3.0.50
|
||||
github.com/minio/minio-go/v7 v7.0.69
|
||||
github.com/minio/mux v1.9.0
|
||||
github.com/minio/pkg/v2 v2.0.11
|
||||
github.com/minio/pkg/v2 v2.0.14
|
||||
github.com/minio/selfupdate v0.6.0
|
||||
github.com/minio/sha256-simd v1.0.1
|
||||
github.com/minio/simdjson-go v0.4.5
|
||||
@@ -76,6 +76,7 @@ require (
|
||||
github.com/prometheus/client_model v0.6.0
|
||||
github.com/prometheus/common v0.50.0
|
||||
github.com/prometheus/procfs v0.13.0
|
||||
github.com/puzpuzpuz/xsync/v3 v3.1.0
|
||||
github.com/rabbitmq/amqp091-go v1.9.0
|
||||
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475
|
||||
github.com/rs/cors v1.10.1
|
||||
@@ -219,7 +220,6 @@ require (
|
||||
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
|
||||
github.com/pquerna/cachecontrol v0.2.0 // indirect
|
||||
github.com/prometheus/prom2json v1.3.3 // indirect
|
||||
github.com/puzpuzpuz/xsync/v3 v3.1.0 // indirect
|
||||
github.com/rivo/tview v0.0.0-20240307173318-e804876934a1 // indirect
|
||||
github.com/rivo/uniseg v0.4.7 // indirect
|
||||
github.com/rjeczalik/notify v0.9.3 // indirect
|
||||
|
||||
Reference in New Issue
Block a user