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

dashboard 配置AD认证时报错 #55

Open
lzxyah opened this issue Jul 5, 2017 · 1 comment
Open

dashboard 配置AD认证时报错 #55

lzxyah opened this issue Jul 5, 2017 · 1 comment

Comments

@lzxyah
Copy link

lzxyah commented Jul 5, 2017

dashboard 配置AD认证,在登录时报错
"
SimpleLDAPObject has no attribute '_l'

"

@wjybluse
Copy link

wjybluse commented Jul 7, 2017

这个问题好像把ldap的bind方法从simple_bind_s改成simple_bind就好,通过用户名和密码来认证dashboard/rrd/view/utils.py 138行 cli.simple_bind_s(bind_dn, password)改成 cli.simple_bind(name, password)就可以了,每太研究过ldap,所以后面再研究一下!

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