[python3-ldap] python3-ldap 0.9.5.3 is released
python3ldap
python3ldap at gmail.com
Mon Aug 25 22:54:06 CEST 2014
Hello everybody,
I've released the 0.9.5.3 version of python3-ldap.Now attributes
returned in search are searchable in a case insensitive way by
default. This is probably helpful at interactive prompt because you
can read the value of attributes without specify the exact case of the
key. FOr example you can access
c,response[0]['attributes']['postalAddress'] or
c,response[0]['attributes']['postaladdress'] and get the same values
back. There is a simple class in the
ldap3.utils.caseInsensitiveDictionary package that contains
CaseInsensitiveDict, a class that subclasses the
collections.abc.MutableMappings and can be used as a usaul dictionary.
You use it if you need and it perform also equality between two
CaseInsensitiveDicts or a CaseInsensitiveDict and a dict, in the
latter case the case is ignored even in the dict.
In 0.9.5.3 there is a fix to properly read the schema for Active
Directory and 389 Directory Server, where the schema attributes must
be explicitly requested. There are also a few extended operations for
eDirectory and a utility function to convert a dn to a list of name
components.
Thiese are the changelogs for 0.9.5.3 and 0.9.5.2:
* 0.9.5.3 2014.08.24
- elements returned in schema and dsa info are in a case
insensitive dictionary (can be changed in
ldap3.CASE_INSENSITIVE_SCHEMA_NAMES = True|False)
- attributes name returned in searches are now case insensitive
(can be changed in ldap3.CASE_INSENSITIVE_ATTRIBUTE_NAMES =
True|False)
- change parameter name from separe_rdn to separate_rnd in
ldap3.utils.conv.to_dn()
- sync dev from Bitbucket to GitHub
- schema attributes are explicitly read (useful for Active
directory and 389 Directory Server)
- new extended operation: list_replicas (Novell)
- new extended operation: get_replica_info (Novell)
- new extended operation: partition_entry_count (Novell)
- renamed convert_to_ldif() to _convert_to_ldif()
* 0.9.5.2 2014.08.05
- fixed LDAPOperationResult.__str__ (thanks David)
- added to_dn() in utils.conv to convert a dn string in a list of
components (strings or tuples)
- added __version__ in ldap3
- don't raise exception if the schema cannot be read in
unauthenticated state
- server.address_info is now a property
Have fun,
Giovanni
More information about the python3-ldap
mailing list