./databases/py-ldap3, Strictly RFC 4510 conforming LDAP V3 pure Python client library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 2.5, Package name: py27-ldap3-2.5, Maintainer: pkgsrc-users

ldap3 is a strictly RFC 4510 conforming LDAP v3 pure Python client library.
The whole ldap3 library has been written from scratch and the same codebase
works with Python 2, Python 3, PyPy and PyPy3 on any system where it can gain
access to the network via a Python interpreter and the Python Standard Library.

Required to run:
[devel/py-setuptools] [security/py-asn1] [lang/python27]

Required to build:

Master sites:

SHA1: 8b8c9b2071e54e1ec97a3c446334bc26ad5fdc29
RMD160: 376faff81a59ac52703ea032b8d763ddd41876ba
Filesize: 341.477 KB

Version history: (Expand)

CVS history: (Expand)

   2018-04-18 06:22:35 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ldap3: updated to 2.5

- abstract layer now handles auxiliary classes
- pwdLAstSet in AD is valid for 0 and -1
- fixed extend.novell.get_universal_password
- entryUUID is properly validated in search filters
- custom attribute formatters are properly applied when parsing the search filter
- REUSABLE strategy now honours credentials when changed in the original connection
- add operation doesn't change passed attribute dict anymore
- missing entry's attribute return False when searching instead of raising an \ 
- fixed ad_timestamp evaluation for integers
- wrong exception raised when user name is empty in simple binding
- exception is raised if size limit is exceed when searchin in mocking \ 
strategies with raise_exceptions=True
- fixed validator for novell guid
- fixed validator for openldap EntryUUID
- fixed validator for AD objectGUID, now follows MS-DTYP
- fixed formatter for AD objectGUID
- fixed exception when adding binary values
- added escape_rdn_chars() to ldap3.utils.dn for safe checking untrusted input \ 
while building DNs
- fixed search for binary values in mock strategies
- fixed exception with unicode chars in subfilters for python 2
- connection.extend.paged_search() doens't miss the last entries anymore when \ 
size limit is exceeded for the search on the server
- validators are not applied when loading data from json dump in Mock strategies
- additional validator to check for erroneous bytes to string conversion in Python 3
- additional formatter and validator to check for generalizedtime with 0 year
- fixed AD dir_sync extended operation
- ad_unlock_account works properly
- added Microsoft security descriptor control
- fixed search in mock strategies when raise_exceptions=True
- formatters never raise exceptions but returns the raw_value when unable to format
- fixed comtrols duplication in paged search
   2018-01-24 14:41:35 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ldap3: updated to 2.4.1

- tested against pyasn1 from version 0.1.8 up to version 0.4.2, Python 2.6.6, \ 
Python 2.7.14, Python 3.6.4
- auto_encode parameter is honored when binding
- fixed organizationalName definition in oid
- automatic byte to int conversion working again
- mock connection searchs correctly escape filters
- fixed bind with not unicode characters in Python 2
- extended filter attributes should work again with pyasn1 0.4.1
- fixed error when reading incomplete server info
- NOT keyword properly handled in dit_content_rules
- operational attributes are prorerly returned in Cursor whit \ 
get_operational_attributes = True
- start_tls() is properly executed with AD when raise_exceptions=True
- reopening a Connection honours auto_bind setting
- an attribute returned with no value from a flaky server doesn't raise \ 
exception anymore
- pwdLastSet in AD is valid only for -1
- fixed docs for ldifProducer
- fixed monkeypatching of pyasn1 for Boolean Value in BER encoding
- check_names was not honoured while validating attribute values
- locks refactored in Connection and in Async strategy
- socket properly closed when checking availability of an invalid server
   2017-11-15 08:47:48 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-ldap3: updated to 2.4

security fix in the rebind() method of the Connection object (thanks Daniel)
fix for Sasl credentials in Python 3 (thanks Busuwe)
fixed bug when checking for equality in MockBase
added validator parameter to Server object for custom validators
attribute values are now validated in add/compare/modify operations in the \ 
Connection object
Python types can now be used in add/compare/modify operations
compatible with the pyasn1 library from version 0.1.8 up to latest (0.3.3 for \ 
now) version
fixed compatibility with Twisted on Windows on Python 2.7 (thanks Pmisik)
fixed paged_search behaviour in Reader object
fixed regression in MockBase (thanks Markus)
fixed invalid filter sequence in MockBase (thanks SignedBit)
added compatibility with Cython (thanks Pedro)
fixed auto_encode check in validate_attribute_value for unknown attrs (thanks \ 
don’t encode response_value as extended_response_to_dict expects a decoded \ 
value (thanks Matthias)
compatible with the pyasn1 library from version 0.1.8 up to latest (0.3.7 for \ 
now) version
added LDAPObjectDereferenceError exception
LDAPObjectDereferenceError is raised when an object tries to dereference itself \ 
in the Abstraction Layer (thanks Daniele)
async module renamed to asynchronous for compatibility with Python 3.7 (thank Barry)
long integer are properly checked in mocking strategies (thanks gregn610)
NUMERIC_TYPES includes long for Python 2
   2017-09-16 21:27:31 by Thomas Klausner | Files touched by this commit (372)
Log message:
Reset maintainer
   2017-08-03 12:42:09 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
compatible with the pyasn1 library from version 0.1.8 up to latest (0.3.1 for \ 
now) version
MockAsync strategy is available
added __ne__ method to Attribute in abstraction layer (thank Rodrigo)
added LDAPUserNameIsMandatoryError exception in simple bind when user name is empty
search referrals are properly decoded with fast decoder
paged search works in mock strategies
paged_search in extend.standard namespace raises an exception of class \ 
LDAPOperationResult if the search returns an error
search_paged() method of Cursor object now return the whole list of entries if \ 
updated docs for defaults parameters (thanks Guarnacciaa)
fixed mockBase for integer matching (thanks Jijo)
boolean values are now uppercase in LDIF (thanks Linus)
fixed timeout in ssl connection on Linux and Mac (thanks Allan)
changed some internal functions to private in ldap3.utils.dn
operational attribute entryDN is properly managed in Mock strategies (thanks Mark)
new rdn in renamed entry is properly set in Mock strategies (thanks Mark)
metrics are now updated for Mock strategies, except that for received bytes \ 
(thanks joehy)
better managing of missing schema from the server (thanks Deborah)
fixed error while schema is not in string format (thanks Alexandre)
SNI support added when the underlying python library allows it (thanks Edmund)
added pool_keepalive parameter to Connection object for REUSABLE strategy
connection.extend.microsoft.modify_password returns False when change is not \ 
successful (thanks Ashley)
added validators for uuid and uuid_le
fixed error while searching for bytes
fixed pickling and unpickling of datetime values (thanks David)
fixed error that resulted in valid generalizedTime strings not being parsed \ 
(thanks Busuwe)
fixed error with modify operation on referrals (thanks Busuwe)
fixed error in mockBase add_entry() with raw rdn (thanks Chad)
fixed error when stdin has not encoding in config.py (thanks cronicryo)
fixed error when optional field are not present in pyasn1 requests (thanks Ilya)
added DEFAULT_SERVER_ENCODING config parameter, should always be utf-8
additional encodings are applied to all data received from the server
additional encodings are not applied to client data
added from_server=False parameter to to_unicode() to not try client encoding \ 
while decoding data from server
   2017-05-08 12:02:34 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
Changes 2.2.4:
leading and trailing spaces in server name don’t raise exception anymore - \ 
DitContentRule is properly read from the schema - added validator for Active \ 
Directory timestamp - Mock strategies raise an exception if a non-bytes value is \ 
added to the schema when no offline schema is provided (str and int are \ 
automatically converted) - added custom_validators property to Mock strategies - \ 
modifying objectClass with bytes values doesn’t raise an exception anymore \ 
(but it may fail anyway because of server constraints) - ensure that config \ 
sequence parameters are properly set - allow case insensitive attribute and \ 
class names in config parameters - added server.schema.is_valid() to check if \ 
the schema is available - empty schema properties are set to empty dict() \ 
instead of None - schema definitions with traling and leading spaces are now \ 
properly parsed and don’t raise an LDAPSchemaError exception anymore - \ 
fixed error when flaky servers (OpenLDAP) don’t return the correct re
sponse with StartTls
   2017-05-05 08:50:01 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
Changes 2.2.3:
abstraction layer query converts int values to string (thanks dgadmin)
CaseInsensitiveDictWithAlias doesn’t raise an exception anymore if alias is \ 
set multiple times to the same key
friendly names in AttrDef are properly managed when performing commits in Writer \ 
no more errors when server returns an empty schema (thanks Glen)
range attributes in entries are properly recognized when auto_range is False
fixed random errors in auto_range searches (thanks James)
fixed checking of malformed schema
added configuration parameter IGNORE_MALFORMED_SCHEMA to not raise exception for \ 
servers that don’t follow the LDAP RFCs (defaults to False)
test config moved to test/config.py
testcase_id generated randomly for each test
added ATTRIBUTES_EXCLUDED_FROM_OBJECT_DEF parmeter to exclude some attribute \ 
from automatic populate of ObjectDef in Abstract Layer (helpful for AD)
added IGNORED_MANDATORY_ATTRIBUTES_IN_OBJECT_DEF parmeter to exclude some \ 
attribute from mandatory attribute list in ObjectDef in Abstract Layer (helpful \ 
for AD)
fixed error when using implicit assigning in WritableEntry
added LDAPInvalidValueError Exception
in Python 3 byte filter are converted to unicode before parsing
to_unicode(value, encoding=None, additional_encodings=False) now checks for \ 
additional encoodings in ADDITIONAL_ENCODINGS list if additional_encoding is set \ 
to True
Reusable strategy uses not lazy Restartable connections
   2016-12-05 00:12:59 by Blue Rats | Files touched by this commit (1)
Log message: