Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用户停用后仍然可以登陆系统 #120

Closed
LaiJingli opened this issue Dec 15, 2020 · 2 comments
Closed

用户停用后仍然可以登陆系统 #120

LaiJingli opened this issue Dec 15, 2020 · 2 comments

Comments

@LaiJingli
Copy link

Describe the bug
本地用户和ldap用户停用后仍然可以登陆系统

To Reproduce

Expected behavior
停用后,用户不能登陆系统

@ykfq
Copy link

ykfq commented Dec 16, 2020

@LaiJingli
我这边 ldap 配置了提示 角色查询失败, record not found
请问你这边是怎么配置的,可否打码参考一下呢

image

@LaiJingli
Copy link
Author

@LaiJingli
我这边 ldap 配置了提示 角色查询失败, record not found
请问你这边是怎么配置的,可否打码参考一下呢

image
我这边对接的是openldap,可参考一下:
ldap:
anonymousquery: 0
basedn: dc=xxx,dc=com
bindpwd: xxx-pass
binduserdn: cn=manager,dc=xxx,dc=com
host: 10.0.0.x
port: 389
tls: 0
userfield: uid
log:
compress: 1
consolestdout: 1
filestdout: 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants