./databases/py-ldap, LDAP client API for Python

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

Branch: CURRENT, Version: 3.2.0, Package name: py37-ldap-3.2.0, Maintainer: pkgsrc-users

Provide an LDAP client API for Python in the spirit of RFC1823.

* C wrapper module around OpenLDAP
* an object-oriented API for X.500 directories

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

Required to build:

Master sites:

SHA1: f0658ddeffd4c059bb804890b80c00d62b70be60
RMD160: 846bf38cb166f478f2cf401f889ad7ecd39b05c5
Filesize: 359.028 KB

Version history: (Expand)

CVS history: (Expand)

   2019-04-09 13:51:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ldap: updated to 3.2.0

Release 3.2.0:

* Add support for X-ORIGIN in ldap.schema's ObjectClass
* Make initialize() pass extra keyword arguments to LDAPObject
* ldap.controls.sss: use str instead of basestring on Python 3
* Provide ldap._trace_* atributes in non-debug mode

* Fix ReST syntax for links to set_option and get_option

* Use intersphinx to link to Python documentation
* Correct type of some attribute values to bytes
* Use system-specific ENOTCONN value

* Add testing and document support for Python 3.7
* Add Python 3.8-dev to Tox and CI configuration
* Add Doc/requirements.txt for building on Read the Docs
   2018-10-23 10:58:28 by Adam Ciarcinski | Files touched by this commit (5) | Package updated
Log message:
py-ldap: updated to 3.1.0

Released 3.1.0:

This release brings two minor API changes:
- Long-deprecated functions ldap.open() and ldap.init() are removed
- LDAPObject.compare_s() and compare_ext_s return bool instead of 0 or 1

All changes since 3.0.0:

* Remove long deprecated functions ldap.open() and ldap.init()
* LDAPObject.compare_s() and LDAPObject.compare_ext_s() now return a bool
  instead of 1 or 0.
* Make iteration over cidict yield same values as keys()
* Fail if pyasn1 is not installed
* Fix parsing of PPolicyControl ASN.1 structure
* Use items() when appropriate in dict iteration
* Add support for tracing LDAP calls. Tracing can now be enabled with
  the env var PYTHON_LDAP_TRACE_LEVEL and redirected to a file with
  (This is mainly intended for debugging and internal testing; the
  configuration or output may change in future versions.)

* Fix ref counting bug in LDAPmessage_to_python

* Remove warning about unreleased version
* Doc: Replace Mac OS X -> macOS

* Add tests and coverage for tracing
* Disable warnings-as-errors for Python 3.4
* Fix assertTrue to assertEqual
* Mark several test values as bytes

* Fix error message for missing commands
* Make SlapdObject a context manager
* Disable SASL external when missing SASL support
* Make SlapdObject.root_dn a property
* In SlapdObject, build include directives dynamically
* Move import statements to top level

Code style:
* Add Makefile rules for automatic formatting of C and Python code
* Reformat and indent all C files
* Trim white space throughout the project

* Add py3-trace tox environment to Travis CI config
* Add new Pytest cache directory to gitignore

* Update all pypi.python.org URLs to pypi.org

Released 3.0.0:

Notable changes since 2.4.45 (please see detailed logs below):
* Python 3 support and bytes_mode
  see: https://python-ldap.readthedocs.io/en/l … _mode.html
* The module ldap.async is renamed to ldap.asyncsearch
* New dependencies: pyasn1, pyasn1_modules
* Dropped support for Python 2.6 and 3.3
   2017-11-27 11:47:27 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-ldap: updated to 2.5.2

Release 2.5.2:
* code-cleaning in setup.py

* PyBytes_ instead of PyString_ and added PyInt_FromLong compat macro
* moved code from version.c to ldapmodule.c
* removed obsolete back-ward compability constants from common.h
* build checks whether LDAP_API_VERSION is OpenLDAP 2.4.x
* _ldap.__author__ and _ldap.__license__ also set from ldap.pkginfo
* assume C extension API for Python 2.7+

* removed all dependencies on modules string and types
* removed use of .has_key()
* removed class ldap.ldapobject.NonblockingLDAPObject
* new global constant ldap.LIBLDAP_API_INFO
* right after importing _ldap there is a call into libldap to initialize it
* method .decodeControlValue() of SSSResponseControl and VLVResponseControl
  does not set class attribute result_code anymore
* always use bytes() for UUID() constructor in ldap.syncrepl
* module ldif now uses functions b64encode() and b64decode()
* fixed pickling and restoring of ReconnectLDAPObject
* more modules with PEP-8 compliance
* ldap.ldapobject split into module-package

* scripts do not directly call SlapdTestCase.setUpClass() anymore
* added LDIF test with folded, base64-encoded attribute
* added more tests for sub-module ldap.dn
* added tests for ldap.syncrepl
   2017-11-15 08:50:40 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-ldap: updated to 2.5.1

Changes since 2.4.45:

Mandatory prerequisites:
- Python 2.7.x
- pyasn1 0.3.7+ and pyasn1_modules 0.1.5+

* removed unused code schema.c

* ldap.__version__, ldap.__author__ and ldap.__license__ now
  imported from new sub-module ldap.pkginfo also to setup.py
* Added safety assertion when importing _ldap:
  ldap.pkginfo.__version__ must match _ldap.__version__
* removed stand-alone module dsml
* slapdtest.SlapdObject.restart() just restarts slapd
  without cleaning any data
* Compability changes for pyasn1 0.3.x or newer
  (thanks to Ilya Etingof and Christian Heimes)
* The methods SSSResponseControl.decodeControlValue() and
  VLVResponseControl.decodeControlValue() now follow the coding
  convention to use camel-cased ASN.1 name as class attribute name.
  The old class names are still set for back-ward compability
  but should not be used in new code because they might be removed
  in a later release.
* removed SSSRequestControl from ldap.controls.KNOWN_RESPONSE_CONTROLS

* added explicit reconnect tests for ReconnectLDAPObject
   2017-10-24 06:45:56 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-ldap: update to 2.4.45

Changes 2.4.45:

* Fixed reraising of wrong exception in SimpleLDAPObject._ldap_call()

* removed work-around in t_cext.py
   2017-09-08 13:07:09 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
Released 2.4.44:
* more fine-grained GIL releasing in function l_ldap_result4()
   2017-09-07 17:09:52 by Adam Ciarcinski | Files touched by this commit (2)
Log message:

* fixed passing all arguments from LDAPObject.sasl_non_interactive_bind_s()
  to LDAPObject.sasl_interactive_bind_s()

* added test for LDAPObject.sasl_external_bind_s()

* added docs for SASL bind methods
* more references
* better sorting of LDAPObject methods


* added new SlapdObject methods _ln_schema_files() and
* SlapdObject methods setup_rundir() and gen_config()
  are now "public" methods
* removed pseudo test script from module ldap.cidict

* added sub-module for testing class ldap.cidict.cidict
* avoid deprecated method alias unittest.TestCase.assertEquals
   2017-09-04 20:08:31 by Thomas Klausner | Files touched by this commit (163)
Log message:
Follow some redirects.