Bonsai

Latest version: v1.5.3

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 5

0.8.0

--------------------

Changed
~~~~~~~

- New module name (from PyLDAP) to avoid confusion with other Python
LDAP packages.
- LDAPEntry’s clear and get method are rewritten in Python.
- Connection settings are accessible via properties of LDAPClient.
- Moved asyncio related code into a separate class that inherits from
LDAPConnection.
- Default async class can be change to other class implementation that
can work with non-asyncio based approaches (e.g. like Gevent).
- Names of the objects implemented in C are all lower-cased.

Added
~~~~~

- Full unicode (UTF-8) support on MS Windows with WinLDAP.
- LDAPConnection.fileno() method to get the socket descriptor of the
connection.
- New methods for LDAPClient to set CA cert, client cert and client
key.
- EXTERNAL SASL mechanism for binding.
- Use of authorization ID during SASL binding.
- New classes for supporting Gevent and Tornado asynchronous modules.
- Timeout parameter for LDAP operations.

Fixed
~~~~~

- Own error codes start from -100 to avoid overlap with OpenLDAP’s and
WinLDAP’s error codes.
- New folder structure prevents the interpreter to try to load the
local files without the built C extension(, if the interpreter is
started from the module’s root directory).

0.7.5

--------------------

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.

0.7.0

--------------------

Changed
~~~~~~~

- The set_page_size method is moved from LDAPClient to LDAPConnection.

Added
~~~~~

- Support for asynchronous LDAP operations.
- Cancel method for LDAPConnection.
- New LDAPEntry and LDAPConnection Python objects as wrappers around the
C implementations.

Fixed
~~~~~

- UniqueList contains method.

0.6.0

--------------------

Changed
~~~~~~~

- LDAPClient accepts LDAPURL objects as url.
- LDAPConnection search accepts LDAPDN objects as basedn parameter.

Added
~~~~~

- Method to set certificate policy.
- Server side sort control.

Fixed
~~~~~

- Getting paged result cookie on MS Windows.
- Segmentation fault of LDAPEntry.popitem().

0.5.0

--------------------

Changed
~~~~~~~

- Module name to lower case.
- Removed get_entry method.
- LDAP URL parameters are used for search properly.

Added
~~~~~

- New LDAPClient object for managing the connection settings.
- DIGEST-MD5 support on MS Windows.
- Raw attribute support: the given attributes will be kept in bytearray form.
- Paged search control support.
- Sphinx documentation with tutorial.

Fixed
~~~~~

- Several memory management issues.

0.1.5

--------------------

Changed
~~~~~~~

- Errors are implemented in Python.
- Using WinLDAP on MS Windows for LDAP operations.

Added
~~~~~

- UniqueList for storing case-insensitive unique elements.
- LDAPURL and LDAPDN Python classes for handling LDAP URL and distinguished
name.

Fixed
~~~~~

- Getting empty list for searching non-existing entries.

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.