console日志:
<-- POST /login 2021/11/05T12:05:54.003
{
code: 500,
error: 'server_error',
error_description: 'user.iam.kubesphere.io "zhangcc" not found',
statusText: 'Internal Server Error'
}
--> POST /login 200 79ms 47b 2021/11/05T12:05:54.081
apiserver日志
I1105 12:10:11.182526 1 apiserver.go:599] ::ffff:10.233.89.0 - "POST /oauth/token HTTP/1.1" 500 107 93ms
l da p
ldap配置:
authentication:
authenticateRateLimiterDuration: 10m
authenticateRateLimiterMaxTries: 10
jwtSecret: ""
oauthOptions:
accessTokenInactivityTimeout: 30m
accessTokenMaxAge: 1h
identityProviders:
- mappingMethod: auto
name: ldap
provider:
host: 192.168.1.252:389
loginAttribute: uid
mailAttribute: mail
managerDN: cn=admin,dc=haizhi,dc=com
managerPassword: xxxxxx
userSearchBase: ou=People,dc=haizhi,dc=com
type: LDAPIdentityProvider