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

LDAP Server 建议增加 get_info = None 参数 #6

Open
guoxiaod opened this issue Aug 27, 2020 · 0 comments
Open

LDAP Server 建议增加 get_info = None 参数 #6

guoxiaod opened this issue Aug 27, 2020 · 0 comments

Comments

@guoxiaod
Copy link

guoxiaod commented Aug 27, 2020

self.ldap_server = Server(ldap_server_host, port=ldap_server_port, use_ssl=ldap_use_ssl)

修改为

    self.ldap_server = Server(ldap_server_host, port=ldap_server_port, use_ssl=ldap_use_ssl, get_info = None)

默认get_info = SCHEMA 会获取LDAP的schema信息,实际上在这块没有必要,后续的信息也没有使用到。

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

1 participant