[python3-ldap] python3-ldap 0.9.5.4 released

python3ldap python3ldap at gmail.com
Tue Sep 23 19:33:52 CEST 2014


Hello,
I've released version 0.9.5.4 of python3-ldap.  The main feature is
the parsing of DNs and referral URIs.
You can find 2 functions for DN parsing (follow the specifications in
RFC 4514). with parse_dn(dn) you get an exception if the dn is not
valid and get back a list of tuple with the dn components, while with
safe_dn(dn) you get back a string with dn safely escaped (if
possible).

The changelog is:
    - Fixed security issue in lazy connections (thanks Moritz)
    - Added ldap3.utils.dn with parse_dn(dn) to verify dn compliance
with RFC4514
    - Added safe_dn(dn) to properly escape dn (if possible)
    - Added ldap3.utils.uri with parse_uri(uri) to verify uri
compliance with RFC4516
    - Check for trailing slashes in hostname (thanks Dylan)
    - Timeout for socket connect operation. Server.connect_timeout =
seconds_to_wait_for_establishing_connection (thanks Florian)
    - Closing socket error doesn't raise exception anymore
    - ServerPool can be implicity defined with a list of server names
(even when defining a connection)


This is my roadmap to version 1.0:
    - 1. Safe parsing of DN (done in 0.9.5.4)
    - 2. Active directory specific operations
    - 3. Offline standard schema definition (to allow clients to be
aware of the standard RFC defined schema even if the server is not
returning it)
    - 4. Custom offline schema definition (to add custom types to offline schema
    - 5. Mocking strategy (for testing purpose)
    - 6 GSSAPI SASL authentication
    - 7 Multiserver testing lab
    - 8 Updated docs and tutorials

Do you think that something is still missing?

Bye,
Giovanni


More information about the python3-ldap mailing list