ops_sdk icon indicating copy to clipboard operation
ops_sdk copied to clipboard

LDAP Server 建议增加 get_info = None 参数

Open guoxiaod opened this issue 4 years ago • 0 comments

https://github.com/ss1917/ops_sdk/blob/7881ce8dbf7b44e95d0871478e81e40d8533db03/websdk/ldap.py#L18

修改为

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

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

guoxiaod avatar Aug 27 '20 02:08 guoxiaod