--------------------
Changed
~~~~~~~
- LDAPClient.connect is a coroutine if async param is True. (Issue 1)
- The binding function on Windows uses ldap\_sasl\_bind instead of the
deprecated ldap\_bind.
- The connection procedure (init, set TLS, bind) creates POSIX and
Windows threads to avoid I/O blocking.
- Optional error messages are appended to the Python LDAP errors.
Added
~~~~~
- New open method for LDAPConnection object to build up the connection.
- New LDAPConnectIter object for initialisation, setting TLS, and
binding to the server.
Fixed
~~~~~
- LDAPConnection.whoami() returns ‘anonymous’ after an anonymous bind.
- After failed connection LDAPClient.connect() returns ConnectionError
on MS Windows.