- Nothing changed yet.
- Refactor package layout to use
pyproject.tomland implicit namespace packages. [rnix]
- Pin upper versions of dependencies. [rnix]
- Implement
expiresandexpiredproperties onnode.ext.ldap.ugm._api.LDAPUseras introduced onnode.ext.ugm.interfaces.IUseras of node.ext.ugm 1.1. [rnix] - Introduce
node.ext.ldap.ugm.expires.AccountExpirationand use it for account expiration management. [rnix] - Remove
node.ext.ldap.ugm._api.AccountExpiredsingleton.LDAPUsers.authenticatealways returnsFalseif authentication fails. [rnix] - node >= 1.1 is required by node.behaviors.suppress_lifecycle_events support [mamico]
- Backward compatibility with pas.plugins.ldap <= 1.8.1 where LdapProps does not have timeout properties. [mamico]
- Add properties conn_timeout and op_timeout (both not set by default)
to configure
ReconnectLDAPObject. [mamico] - Adopt lifecycle related changes from
node1.1. [rnix] - Move
ensure_connectionfromLDAPSessiontoLDAPCommunicatorto prevent binds on searches that return cached results. [enfold-josh]
- Call
ensure_connectioninLDAPSession.delete. [rnix] - Remove usage of
Nodespacesbehavior. [rnix] - Replace deprecated use of
StoragebyMappingStorage. [rnix] - Replace deprecated use of
IStoragebyIMappingStorage. [rnix] - Replace deprecated use of
NodifybyMappingNode. [rnix] - Replace deprecated use of
NodeChildValidatebyMappingConstraints. [rnix] - Replace deprecated use of
AdoptbyMappingAdopt. [rnix] - Replace deprecated use of
allow_non_node_childrenbychild_constraints. [rnix]
- Fix #61: Close open connections to LDAP on GC. [jensens]
- Rename deprecated
allow_non_node_childstoallow_non_node_childrenonPrincipalAliasedAttributes. [rnix] - Allow to generate MD5 hashes in FIPS enabled environments. [frapell]
- Fix DN comparison in
LDAPStorage.node_by_dnto ignore case sensitivity. [rnix]
- Make sure
LDAPPrincipals._login_attrhas a value. This wayLDAPUsers.id_for_loginalways returns the principal id as stored in the database. [rnix] - Improve value comparison in
LDAPAttributesBehavior.__setitem__to avoid unicode warnings. [rnix] - Implement
invalidateonnode.ext.ldap.ugm._api.Ugm. [rnix] - Support for group DNs in
memberOfattribute that are outside of the UGMs configured group. [jensens]
- Return empty search result list when an LDAP error occurs. Fixes issue #50. [maurits]
- Skip objects that were found in LDAP while searching on several attributes but don't contain the required attribute. [fredvd, maurits]
- Fix cache key generation. [rnix, pbauer]
- Refactor mapping from object-class to format and attributes to increase readability. [jensens]
- Increase Exception verbosity to ease debugging. [jensens]
- Add missing object classes from principal config when persisting principals. [rnix]
- Remove attribute from entry if setting it's value to
node.utils.UNSETor empty string. Most LDAP implementations not allow setting empty values, thus we delete the entire attribute in this case. [rnix] - Add debug-level logging if search fails with no-such-object. [jensens]
- Fix problem with missing LDAP batching cookie in search. [jensens, rnix]
- Remove
smbpasswddependency. Usepasslibinstead. [rnix] - Use
bytes_mode=Falsewhen usingpython-ldap. This is the default behavior in python 3 and handles everything as unicode/text except entry attribute values. For more details see https://www.python-ldap.org/en/latest/bytes_mode.html [rnix] - Add
ensure_bytes_py2innode.ext.ldap.base. [rnix] - Rename
decode_utf8toensure_textinnode.ext.ldap.base. [rnix] - Rename
encode_utf8toensure_bytesinnode.ext.ldap.base. [rnix] - Python 3 Support. [rnix, reinhardt]
- Convert doctests to unittests. [rnix]
- Use
ldap.ldapobject.ReconnectLDAPObjectinstead ofSimpleLDAPObjectto create the connection object. This makes the connection more robust. Add properties retry_max (default 1) and retry_delay (default 10) tonode.ext.ldap.properties.LDAPServerPropertiesto configureReconnectLDAPObject. [joka] - Use
explode_dninLDAPPrincipals.__getitem__to preventKeyErrorif DN contains comma. [dmunicio]
- Do not catch
ValueErrorinnode.ext.ldap._node.LDAPStorage.batched_search. [rnix] - Use property decorators for
node.ext.ldap._node.LDAPStorage.changedandnode.ext.ldap.session.LDAPSession.baseDN. [rnix] - Fix signature of
node.ext.ldap.interfaces.ILDAPStorage.searchto match the actual implementation innode.ext.ldap._node.LDAPStorage.search. [rnix] - Fix signature of
node.ext.ldap.ugm.LDAPPrincipals.searchaccording tonode.ext.ugm.interfaces.IPrincipals.search. The implementation exposed LDAP related arguments and has been renamed toraw_search. [rnix] - Add
existsproperty toLDAPStorage. [rnix] - Add
objectSidandobjectGUIDfrom Active Directory schema toproperties.BINARY_DEFAULTS. [rnix] - Fix default value of
LDAPStorage._multivalued_attributesandLDAPStorage._binary_attributes. [rnix]
- Switch to use mdb as default db for slapd i testing layer. [jensens]
- fix tests, where output order could be random. [jensens]
- make db-type in test layer configurable [jensens]
- Turning referrals off to fix problems with MS AD if it contains aliases. [alexsielicki]
- Fix search to check list of binary attributes directly from the root node data (not from attr behavior) to avoid unnecessarily initializing attribute behavior just a simple search [datakurre]
- Fix to skip group DNs outside the base DN to allow users' memberOf attribute contain groups outside the group base DN [datakurre]
- Add a
batched_searchgenerator function, which do the actual batching for us. Use this function internally too. [jensens, rnix] - In testing set size_limit to 3 in
slapd.confin order to catch problems with batching. [jensens, rnix] - Fix missing paging in UGM group mapping method
member_ids. [jensens]
- Minor code cleanup [jensens]
- Paginate LDAP node
__iter__. [jensens, rnix]
- Remove
ILDAPProps.check_duplicatesrespectiveLDAPProps.check_duplicates. [rnix] rdncan be queried viaattrlistinLDAPNode.searchexplicitely. [rnix]- Introduce
get_nodeskeyword argument inLDAPNode.search. When set, search result containsLDAPNodeinstances instead of DN's in result. [rnix] LDAPNode.searchreturns DN's instead of RDN's in result. This fixes searches with scope SUBTREE where result items can potentially contain duplicate RDN's. [rnix]- Introduce
node_by_dnonLDAPNode. [rnix] - remove bbb code: no python 2.4 support (2.7+ now), usage of LDAPProperties mandatory now. [jensens]
- Overhaul LDAP UGM implementation. [rnix]
- LDAP Node only returns direct children in
__iter__, even if search scope subtree. [rnix] - LDAPNode keys cannot be aliased any longer. Removed
_key_attrand_rdn_attr. child. - LDAPNode does not provide secondary keys any longer. Removed
_seckey_attrs. [rnix] - Deprecate
node.ext.ldap._node.AttributesBehaviorin favor ofnode.ext.ldap._node.LDAPAttributesBehavior. [rnix] - Remove deprecated
node.ext.ldap._node.AttributesPart. [rnix] - Don't fail on
UNWILLING_TO_PERFORMexceptions when authenticating. That might be thrown, if the LDAP server disallows us to authenticate anadminuser, while we are interested in the localadminuser. [thet] - Add
ignore_certoption to ignore TLS/SSL certificate errors for self signed certificates when using theldapsuri schema. [thet] - Housekeeping. [rnix]
- Added possibility to hook external LDIF layer for testldap server via buildout configuration. [rnix]
- Update openldap version in buildout configs. [rnix]
Add new property to allow disable
check_duplicates. This avoids following Exception when connecting ldap servers with non-unique attributes used as keys. [saily]Traceback (most recent call last): ... RuntimeError: Key not unique: <key>='<value>'.
ensure attrlist values are strings [rnix, 2013-12-03]
- Add
expiredproperty tonode.ext.ldap.ugm._api.LDAPUser. [rnix, 2012-12-17] - Introduce
node.ext.ldap.ugm._api.calculate_expiredhelper function. [rnix, 2012-12-17] - Lookup
expiredattribut from LDAP innode.ext.ldap.ugm._api.LDAPUser.authenticate. [rnix, 2012-12-17]
- Encode DN in
node.ext.ldap._node.LDAPStorage._ldap_modify. [rnix, 2012-11-08] - Encode DN in
node.ext.ldap._node.LDAPStorage._ldap_delete. [rnix, 2012-11-08] - Encode DN in
node.ext.ldap.ugm._api.LDAPUsers.passwd. [rnix, 2012-11-08] - Encode DN in
node.ext.ldap.ugm._api.LDAPUsers.authenticate. [rnix, 2012-11-07] - Encode
baseDNinLDAPPrincipal.member_of_attr. [rnix, 2012-11-06] - Encode
baseDNinAttributesBehavior.load. [rnix, 2012-11-06] - Python 2.7 compatibility. [rnix, 2012-10-16]
- PEP-8. [rnix, 2012-10-16]
- Fix
LDAPPrincipals.idbydnhandling UTF-8 DN's properly. [rnix, 2012-10-16] - Rename parts to behaviors. [rnix, 2012-07-29]
- adopt to
node0.9.8. [rnix, 2012-07-29] - Adopt to
plumber1.2. [rnix, 2012-07-29] - Do not convert cookie to unicode in
LDAPSession.search. Cookie value is no utf-8 string but octet string as described in http://tools.ietf.org/html/rfc2696.html. [rnix, 2012-07-27] - Add
User.group_ids. [rnix, 2012-07-26]
- Fix schema to not bind to test BaseDN only and make binding deferred. [jensens, 2012-05-30]
- Remove
escape_queriesproperty fromnode.ext.ldap.properties.LDAPProps. [rnix, 2012-05-18] - Use
zope.interface.implementerinstead ofzope.interface.implements. [rnix, 2012-05-18] - Structural object class
inetOrgPersoninstead ofaccounton posix users and groups related test LDIF's [rnix, 2012-04-23] - session no longer magically decodes everything and prevents binary data from being fetched from ldap. LDAP-Node has semantic knowledge to determine binary data LDAP-Node converts all non binary data and all keys to unicode. [jensens, 2012-04-04]
- or_values and or_keys for finer control of filter criteria [iElectric, chaoflow, 2012-03-24]
- support paged searching [iElectric, chaoflow, 2012-03-24]
- added is_multivalued to properties and modified node to use this list instead of the static list. prepare for binary attributes. [jensens, 2012-03-19]
- added schema_info to node. [jensens, 2012-03-19]
shadowInactivedefaults to0. [rnix, 2012-03-06]- Introduce
expiresAttrandexpiresUnitin principals config. Considered inUsers.authenticate. [rnix, 2012-02-11] - Do not throw
KeyErrorif secondary key set but attribute not found on entry. In case, skip entry. [rnix, 2012-02-10] - Force unicode ids and keys in UGM API. [rnix, 2012-01-23]
- Add unicode support for filters. [rnix, 2012-01-23]
- Add
LDAPUsers.id_for_login. [rnix, 2012-01-18] - Implement memberOf Support for openldap memberof overlay and AD memberOf behavior. [rnix, 2011-11-07]
- Add
LDAPProps.escape_queriesfor ActiveDirectory. [rnix, 2011-11-06] - Add group object class to member attribute mapping for ActiveDirectory. [rnix, 2011-11-06]
- Make testlayer and testldap more flexible for usage outside this package. [jensens, 2010-09-30]
- refactor form
bda.ldap. [rnix, chaoflow]