我在控制台中的代码:
>>> 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
我需要帮助,如何解决