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

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


Branch: CURRENT, Version: 2.5.2, Package name: py27-ldap-2.5.2, 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] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 8ce180da961fa7d582a975a43566b17a31f890a8
RMD160: 0e845581f505d8a1b4cd08a1904233a86306fee7
Filesize: 290.992 KB

Version history: (Expand)


CVS history: (Expand)


   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

Modules/
* 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+

Lib/
* 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

Tests/
* 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+

Modules/
* removed unused code schema.c

Lib/
* 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

Tests/
* 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:

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

Tests/
* 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:
Modules/
* 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:
2.4.43:

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

Tests/
* added test for LDAPObject.sasl_external_bind_s()

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

2.4.42:

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

Tests/
* 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.
   2017-07-13 09:00:37 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
2.4.41:
Lib/
* Added support for increment: lines in LDIF changes records
   2017-07-03 22:51:19 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
Changes 2.4.40:

Modules/
* fixed memory leaks when using extended controls