mirror of
https://github.com/pgsty/minio.git
synced 2026-10-11 04:05:59 +03:00
Return group DN instead of group name in LDAP STS (#11501)
- Additionally, check if the user or their groups has a policy attached during the STS call. - Remove the group name attribute configuration value.
This commit is contained in:
committed by
GitHub
parent
881f98e511
commit
466e95bb59
@@ -41,10 +41,6 @@ func SetIdentityLDAP(s config.Config, ldapArgs Config) {
|
||||
Key: GroupSearchFilter,
|
||||
Value: ldapArgs.GroupSearchFilter,
|
||||
},
|
||||
config.KV{
|
||||
Key: GroupNameAttribute,
|
||||
Value: ldapArgs.GroupNameAttribute,
|
||||
},
|
||||
config.KV{
|
||||
Key: GroupSearchBaseDN,
|
||||
Value: ldapArgs.GroupSearchBaseDistName,
|
||||
|
||||
Reference in New Issue
Block a user