Skip to content
This repository has been archived by the owner on Mar 21, 2019. It is now read-only.

Releases: pyldap/pyldap

This fork is deprecated

26 Apr 19:45
Compare
Choose a tag to compare

The pyldap fork was merged back into python-ldap,
and released as python-ldap 3.0.0.

Development continues at:

https://github.com/python-ldap/python-ldap/

Documentation is available at:

https://python-ldap.org/

To install the new code, use:

pip install python-ldap

Package pyldap 3.0 now exists only to require python-ldap.

Warning

Unfortunately, due to pip bug 4961, upgrading from previous versions
using pip makes the ldap module unimportable.

Instead of upgrading, please replace pyldap by python-ldap
in two separate steps:

    python -m pip uninstall pyldap
    python -m pip install python-ldap

If upgraded already issue, you can fix your environment by uninstalling
and reinstalling python-ldap:

    python -m pip uninstall python-ldap
    python -m pip install python-ldap

We are sorry for the inconvenience.
If you have a better solution, please join the discussion at pyldap bug 148.

pyldap-2.4.45

21 Nov 13:07
Compare
Choose a tag to compare

Changes since 2.4.37:

Lib/

  • Fixed reraising of wrong exception in SimpleLDAPObject._ldap_call()
    (thanks to Aigars Grins)
  • fixed passing all arguments from LDAPObject.sasl_non_interactive_bind_s()
    to LDAPObject.sasl_interactive_bind_s()
  • 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
  • Added support for increment: lines in LDIF changes records
  • fixed errno-related ldap.TIMEOUT regression
    (in pyldap, this was included in 2.4.35.1)

Lib/slapdtest.py

  • Removed obsolete assert statements
  • SlapdObject now evaluates env var SLAPD for optionally pointing
    to OpenLDAP's slapd executable (e.g. with OpenLDAP LTB builds)
  • added LDAPI support in slaptest.SlapdObject which is internally used
    in methods ldapadd() and ldapwhoami()
  • added method slaptest.SlapdObject.ldapmodify()
  • fixed enabling logger in slaptest
  • directory name now contains port to be able to run several SlapdObject
    instances side-by-side (e.g. with replication)
  • added authz-regexp mapping to rootdn for user running the test
  • internally use SASL/EXTERNAL via LDAPI to bind
  • SlapdObject.server_id used as serverID in slapd.conf for MMR
  • Removed method SlapdObject.started() because SlapdTestCase.setUpClass()
    will be used to add initial entries

Tests/

  • removed work-around in t_cext.py
  • scripts do not directly call SlapdTestCase.setUpClass() anymore
    (in pyldap, cherry-picked from python-ldap 2.5.2)
  • added test for LDAPObject.sasl_external_bind_s()
  • added sub-module for testing class ldap.cidict.cidict
  • avoid deprecated method alias unittest.TestCase.assertEquals
  • ReconnectLDAPObject is also tested by sub-classing test class

Modules/

  • more fine-grained GIL releasing in function l_ldap_result4()
  • fixed memory leaks when using extended controls
    (thanks to Erik Cumps)

Doc/

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

pyldap-2.4.37

28 Jun 12:31
Compare
Choose a tag to compare

Changes since 2.4.36:

Lib/

  • fixed errno-related regression introduced in 2.4.35
    (in pyldap, this was included in 2.4.35.1)

Tests/

  • added more checks to t_cext.py
  • renamed t_search.py to t_ldapobject.py and code-cleaning
  • added test for errno-related regression to t_ldapobject.py

pyldap-2.4.36

20 Jun 09:15
Compare
Choose a tag to compare

Changes since 2.4.35:

Lib/

  • gracefully handle KeyError in LDAPObject._ldap_call() when
    using errno
  • added new stand-alone module slapdtest (formerly Tests/slapd.py)
    for general use (still experimental)
  • fixed errno-related regression introduced in 2.4.35 (pyldap backport)
  • fixed errno-related ldap.TIMEOUT regression (pyldap backport)

Tests/

  • re-factored t_cext.py and t_search.py
  • set env var LDAPNOINIT=1 in t_cext.py and t_search.py to avoid
    interference with locally installed .ldaprc or ldap.conf
  • by default back-mdb is now used for slapd-based tests
    which requires fairly recent OpenLDAP builds but implements
    full feature set
  • env vars can be set for slapd.py to tweak path names
    of executables, temporary and schema data to be used
  • new class SlapdTestCase

pyldap-2.4.35.1

29 May 13:56
Compare
Choose a tag to compare

Backport of a fix for a regression introduced in 2.4.35 - see #90

Changes since 2.4.35:

Lib/

  • fixed errno-related regression introduced in 2.4.35
  • fixed errno-related ldap.TIMEOUT regression

pyldap-2.4.35

29 May 13:56
Compare
Choose a tag to compare

Released 2.4.35 2017-04-25 (upstream)

Changes since 2.4.33:
(2.4.34 is missing because of foolish pypi version madness)

Modules/

  • use errno in a safer way
  • set errno as LDAPError class item
  • do not use strerror() which is not thread-safe and platform-specific

Lib/

  • LDAPObject._ldap_call() sets LDAPError info to value returned
    by platform-neutral os.stderror()

Released 2.4.33 2017-04-25 (upstream)

Lib/

  • faster implementation of ldap.schema.tokenizer.split_tokens()
    (thanks to Christian Heimes)
  • removed unused 2nd argument of ldap.schema.tokenizer.split_tokens()
  • fixed method calls in ReconnectLDAPObject (thanks to Philipp Hahn)

Modules/

  • an empty info message is replaced with strerror(errno) if errno is non-zero
    which gives more information e.g. in case of ldap.SERVER_DOWN
    (thanks to Markus Klein)
  • removed superfluous ldap_memfree(error) from LDAPerror()
    (thanks to Markus Klein)

Tests/

  • re-factored t_ldap_schema_tokenizer.py

Released 2.4.32 2017-02-14 (upstream)

Running tests made easier:

  • python setup.py test
  • added tox.ini

Released 2.4.31 2017-02-14 (upstream)

Changes since 2.4.30:

Tests/

  • new test scripts t_ldap_schema_tokenizer.py and t_ldap_modlist.py
    on former raw scripts (thanks to Petr Viktorin)
  • new test-cases in t_ldapurl.py based on former raw scripts
    (thanks to Petr Viktorin)
  • new test-cases in t_ldap_dn.py
  • moved a script to Demo/

Released 2.4.30 2017-02-08 (upstream)

Changes since 2.4.29:

Lib/

  • compability fix in ldap.controls.deref to be compatible to
    recent pyasn1 0.2.x (thanks to Ilya Etingof)

Released 2.4.29 2017-01-25 (upstream)

Changes since 2.4.28:

Modules/

  • Fixed checking for empty server error message
    (thanks to Bradley Baetz)
  • Fixed releasing GIL when calling ldap_start_tls_s()
    (thanks to Lars Munch)