- Nothing changed yet.
- Implement
expires
andexpired
properties onnode.ext.ldap.ugm._api.LDAPUser
as introduced onnode.ext.ugm.interfaces.IUser
as of node.ext.ugm 1.1. [rnix] - Introduce
node.ext.ldap.ugm.expires.AccountExpiration
and use it for account expiration management. [rnix] - Remove
node.ext.ldap.ugm._api.AccountExpired
singleton.LDAPUsers.authenticate
always returnsFalse
if 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
node
1.1. [rnix] - Move
ensure_connection
fromLDAPSession
toLDAPCommunicator
to prevent binds on searches that return cached results. [enfold-josh]
- Call
ensure_connection
inLDAPSession.delete
. [rnix] - Remove usage of
Nodespaces
behavior. [rnix] - Replace deprecated use of
Storage
byMappingStorage
. [rnix] - Replace deprecated use of
IStorage
byIMappingStorage
. [rnix] - Replace deprecated use of
Nodify
byMappingNode
. [rnix] - Replace deprecated use of
NodeChildValidate
byMappingConstraints
. [rnix] - Replace deprecated use of
Adopt
byMappingAdopt
. [rnix] - Replace deprecated use of
allow_non_node_children
bychild_constraints
. [rnix]
- Fix #61: Close open connections to LDAP on GC. [jensens]
- Rename deprecated
allow_non_node_childs
toallow_non_node_children
onPrincipalAliasedAttributes
. [rnix] - Allow to generate MD5 hashes in FIPS enabled environments. [frapell]
- Fix DN comparison in
LDAPStorage.node_by_dn
to ignore case sensitivity. [rnix]
- Make sure
LDAPPrincipals._login_attr
has a value. This wayLDAPUsers.id_for_login
always returns the principal id as stored in the database. [rnix] - Improve value comparison in
LDAPAttributesBehavior.__setitem__
to avoid unicode warnings. [rnix] - Implement
invalidate
onnode.ext.ldap.ugm._api.Ugm
. [rnix] - Support for group DNs in
memberOf
attribute 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.UNSET
or 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
smbpasswd
dependency. Usepasslib
instead. [rnix] - Use
bytes_mode=False
when 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_py2
innode.ext.ldap.base
. [rnix] - Rename
decode_utf8
toensure_text
innode.ext.ldap.base
. [rnix] - Rename
encode_utf8
toensure_bytes
innode.ext.ldap.base
. [rnix] - Python 3 Support. [rnix, reinhardt]
- Convert doctests to unittests. [rnix]
- Use
ldap.ldapobject.ReconnectLDAPObject
instead ofSimpleLDAPObject
to 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.LDAPServerProperties
to configureReconnectLDAPObject
. [joka] - Use
explode_dn
inLDAPPrincipals.__getitem__
to preventKeyError
if DN contains comma. [dmunicio]
- Do not catch
ValueError
innode.ext.ldap._node.LDAPStorage.batched_search
. [rnix] - Use property decorators for
node.ext.ldap._node.LDAPStorage.changed
andnode.ext.ldap.session.LDAPSession.baseDN
. [rnix] - Fix signature of
node.ext.ldap.interfaces.ILDAPStorage.search
to match the actual implementation innode.ext.ldap._node.LDAPStorage.search
. [rnix] - Fix signature of
node.ext.ldap.ugm.LDAPPrincipals.search
according tonode.ext.ugm.interfaces.IPrincipals.search
. The implementation exposed LDAP related arguments and has been renamed toraw_search
. [rnix] - Add
exists
property toLDAPStorage
. [rnix] - Add
objectSid
andobjectGUID
from Active Directory schema toproperties.BINARY_DEFAULTS
. [rnix] - Fix default value of
LDAPStorage._multivalued_attributes
andLDAPStorage._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_search
generator function, which do the actual batching for us. Use this function internally too. [jensens, rnix] - In testing set size_limit to 3 in
slapd.conf
in 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_duplicates
respectiveLDAPProps.check_duplicates
. [rnix] rdn
can be queried viaattrlist
inLDAPNode.search
explicitely. [rnix]- Introduce
get_nodes
keyword argument inLDAPNode.search
. When set, search result containsLDAPNode
instances instead of DN's in result. [rnix] LDAPNode.search
returns 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_dn
onLDAPNode
. [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_attr
and_rdn_attr
. child. - LDAPNode does not provide secondary keys any longer. Removed
_seckey_attrs
. [rnix] - Deprecate
node.ext.ldap._node.AttributesBehavior
in favor ofnode.ext.ldap._node.LDAPAttributesBehavior
. [rnix] - Remove deprecated
node.ext.ldap._node.AttributesPart
. [rnix] - Don't fail on
UNWILLING_TO_PERFORM
exceptions when authenticating. That might be thrown, if the LDAP server disallows us to authenticate anadmin
user, while we are interested in the localadmin
user. [thet] - Add
ignore_cert
option to ignore TLS/SSL certificate errors for self signed certificates when using theldaps
uri 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
expired
property tonode.ext.ldap.ugm._api.LDAPUser
. [rnix, 2012-12-17] - Introduce
node.ext.ldap.ugm._api.calculate_expired
helper function. [rnix, 2012-12-17] - Lookup
expired
attribut 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
baseDN
inLDAPPrincipal.member_of_attr
. [rnix, 2012-11-06] - Encode
baseDN
inAttributesBehavior.load
. [rnix, 2012-11-06] - Python 2.7 compatibility. [rnix, 2012-10-16]
- PEP-8. [rnix, 2012-10-16]
- Fix
LDAPPrincipals.idbydn
handling UTF-8 DN's properly. [rnix, 2012-10-16] - Rename parts to behaviors. [rnix, 2012-07-29]
- adopt to
node
0.9.8. [rnix, 2012-07-29] - Adopt to
plumber
1.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_queries
property fromnode.ext.ldap.properties.LDAPProps
. [rnix, 2012-05-18] - Use
zope.interface.implementer
instead ofzope.interface.implements
. [rnix, 2012-05-18] - Structural object class
inetOrgPerson
instead ofaccount
on 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]
shadowInactive
defaults to0
. [rnix, 2012-03-06]- Introduce
expiresAttr
andexpiresUnit
in principals config. Considered inUsers.authenticate
. [rnix, 2012-02-11] - Do not throw
KeyError
if 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_queries
for 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]