./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.6, Package name: py37-ldap3-2.6, 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/python37]

Required to build:

Master sites:

SHA1: 34509b6518ef1297aa9ff1f6c5574ff0257924ad
RMD160: 7b236d5433e94ff20591490adbdb0e17daa6b6c0
Filesize: 345.76 KB

Version history: (Expand)

CVS history: (Expand)

   2019-04-09 14:06:43 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
Remove unused patch
   2019-04-09 14:06:24 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ldap3: updated to 2.6

- fixed empty digestMd5.py file in 2.5.2 package
- explicitly declare digest module md5 in util.ntlm
- change object passed to modify() was unexpectedly mutated
- added LDAPInfoError exception
- added Server.has_control(control) method to check if a server has a specific \ 
- added Server.has_extension(extension) method to check if a server has a \ 
specific extension
- added Server.has_feature(feature) method to check if a server has a specific \ 
- fixed checking of \\ in safe_dn
- fixed uuid checking with 5c byte value
- added single=True parameter to the ServerPool object definition. Servers state \ 
is shared between connections using the same pool
- updated copyright notice
   2019-01-31 12:02:14 by Leonardo Taccari | Files touched by this commit (3)
Log message:
py-ldap3: Populate an accidental empty file

In the released distfile on PyPI for ldap3-2.5.2
ldap3/protocol/sasl/digestMd5.py was accidentally empty.
Populate it based on the v2.5.2.tar.gz distfile on GitHub.

   2018-12-31 12:26:03 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ldap3: updated to 2.5.2

- when starting tls before binding the connection is automatically open
- fixed changelog date
- support for AD timedeltas
- fixed WhoAmI in mock strategies
- prevent unnecessary exception in extend/standard/ModifyPassword
- added support for external gssapi credentials to be passed to the sasl connection
- added support for gssapi store in sasl connection
- fixed LdifProducer
- fixed NTLM bind
- server state in ServerPool is now a namedtuple "ServerState"
- fixed error when adding member to AD group with unsafe DN
- properly restore lazy status in reusable strategy
- ServerState namedtuple converted to class in core/pooling
- empty schema doesn't raise exception in Abstraction Layer
   2018-08-10 09:19:34 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ldap3: updated to 2.5.1

connection.result is populated when exception raised with raise_exceptions=True
fixed objectSid in mocking strategies
fixed circular reference in exception history
added objectSid validator
byte values are properly searched in MOCK strategies
exception history refactored
connections in context manager don’t bind anymore when auto_bind is set to \ 
Cython compatible build
more detailed exception message in Mock strategy
exceptions flow refactored in reusable strategy
pwdlastset accept any positive integer
fixed an exception while logging packet with pyasn1 decoder
fixed importing abc from collections for Python 3.8
   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