LDAPSocketOpenError:无法发送消息,套接字未打开?

时间:2020-07-28 14:58:29

标签: python-3.x linux ldap3

我在控制台中的代码:

>>> from ldap3 import Server, Connection, ALL, NTLM
>>> server = Server('mycompany.com', get_info=ALL)
>>> conn = Connection(server, user="mycompany\\myuser", password="mypassword", authentication=NTLM)
>>> conn.extend.standard.who_am_i()

raise LDAPSocketOpenError(self.connection.last_error)
ldap3.core.exceptions.LDAPSocketOpenError: unable to send message, socket is not open

我需要帮助,如何解决

0 个答案:

没有答案