mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
fix: some races when accessing ldap/openid config globally (#14978)
This commit is contained in:
@@ -558,7 +558,8 @@ func lookupConfigs(s config.Config, objAPI ObjectLayer) {
|
||||
authZPluginCfg.CloseRespFn = opaCfg.CloseRespFn
|
||||
}
|
||||
}
|
||||
globalAuthZPlugin = polplugin.New(authZPluginCfg)
|
||||
|
||||
setGlobalAuthZPlugin(polplugin.New(authZPluginCfg))
|
||||
|
||||
globalLDAPConfig, err = xldap.Lookup(s[config.IdentityLDAPSubSys][config.Default],
|
||||
globalRootCAs)
|
||||
|
||||
Reference in New Issue
Block a user