[python-ldap] ANN: python-ldap 3.4.2

Ondřej Kuzník ondra at mistotebe.net
Wed Jul 6 15:27:52 EDT 2022


You can find a new release of python-ldap here:

    https://pypi.python.org/pypi/python-ldap/3.4.2

See below for changes in this release.

If you find any issues, please report them either on this mailing list
or on the GitHub tracker:

     https://github.com/python-ldap/python-ldap/issues


Git tag hash for the release:
     python-ldap-3.4.2 b80e8135785ef80a40a52eb61033a54dfd70266e

The tag is signed by my GPG key with fingerprint:
4657 9513 A0E1 B929 334F  3AF6 F465 B179 E1FE 717B

--------

About the project:

    python-ldap provides an object-oriented API to access LDAP directory
    servers from Python programs. It mainly wraps the OpenLDAP 2.x libs
    for that purpose. Additionally it contains modules for other
    LDAP-related stuff (e.g. processing LDIF, LDAP URLs and LDAPv3
    schema).

Project's web site:

     https://www.python-ldap.org/


----------------------------------------------------------------
Released 3.4.2 2022-07-06

This is a minor release to provide out-of-the-box compatibility with the merge
of libldap and libldap_r that happened with OpenLDAP's 2.5 release.

The following undocumented functions are deprecated and scheduled for removal:
- ``ldap.cidict.strlist_intersection``
- ``ldap.cidict.strlist_minus``
- ``ldap.cidict.strlist_union``

The following deprecated option has been removed:
- ``OPT_X_TLS``

Doc/
* SASL option usage has been clarified

Lib/
* ppolicy control definition has been updated to match Behera draft 11

Modules/
* By default, compile against libldap, checking whether it provides a
  threadsafe implementation at runtime
* When decoding controls, the module can now distinguish between no value
  (now exposed as ``None``) and an empty value (exposed as ``b''``)
* Several new OpenLDAP options are now supported:
  * ``OPT_SOCKET_BIND_ADDRESSES``
  * ``OPT_TCP_USER_TIMEOUT``
  * ``OPT_X_SASL_MAXBUFSIZE``
  * ``OPT_X_SASL_SECPROPS``
  * ``OPT_X_TLS_ECNAME``
  * ``OPT_X_TLS_PEERCERT``
  * ``OPT_X_TLS_PROTOCOL``-related options and constants

Fixes:
* Encoding/decoding of boolean controls has been corrected
* ldap.schema.models.Entry is now usable
* ``method`` keyword to ReconnectLDAPObject.bind_s is now usable


More information about the python-ldap mailing list