Commit Graph

306 Commits

Author SHA1 Message Date
Petr Viktorin 37fd75aa12 Merge branch '2016-06-01-better-error-message' of https://github.com/Firstyear/pyldap 2016-06-14 12:13:29 +02:00
cclauss dd5138fddd Added trove classifiers to setup.setup()
Indicates support for Python 2 and Python 3.

Similar changes should be made to https://pypi.python.org/pypi/pyldap to avoid being listed as `red` on http://python3wos.appspot.com/
2016-06-07 12:25:23 +02:00
William Brown df5daf0f9f Improve the error message to specifically refer to byte string for the benefit of python 3 2016-06-01 13:21:19 +10:00
Petr Viktorin 74d509e617 Merge pull request #44 from dirkmueller/master
Readd LICENCE
2016-05-19 16:07:56 +02:00
Dirk Mueller 68d8f1c643 Readd LICENCE
the original python-ldap project this fork is based on used this
LICENSE, which is inherited by this project.
2016-05-18 10:27:07 +02:00
Raphaël Barrois d572d1c5ed Merge pull request #33 from Firstyear/2016-02-18-python-ldap-id-clean
Add pyldap_version constant to allow ID of ldap implementation.
2016-04-06 22:46:40 +02:00
Raphaël Barrois b2f1d28fe1 Release v2.4.25.1
This is a pyldap-specific bugfix release, which restores "ldap.add" and
"ldap.add_ext" under Python2.
2016-03-10 17:15:22 +01:00
Raphaël Barrois 89a0ccdd36 Merge branch 'master' into release 2016-03-10 17:11:21 +01:00
Raphaël Barrois bc56c84c6b Merge pull request #36 from rbarrois/rbarrois/test_ldap_add_ext
Add tests for ldap.add_ext.
2016-03-10 10:55:45 +00:00
Raphaël Barrois 97cb08db0d Add tests for ldap.add_ext. 2016-03-10 11:51:43 +01:00
Raphaël Barrois 3e2d88996c Fix add_ext on Python2 (Closes #15).
Under Python2, the code was breaking because add_ext and modify_ext use
slightly different notions of a modlist: one expects a tuple of
(operation, attribute_name, new_values) and the other a tuple of
(attribute_name, new_values).

The Py2/Py3 compatibility code didn't check for the latter.
2016-03-10 11:32:18 +01:00
William Brown 47b1a0d05a Add pyldap_version constant to allow ID of ldap implementation.
Bug Description:  Pyldap changes *just* enough to break compatability between
python ldap, and pyldap.

Fix Description:  To allow users to detect what behaviour they need to use,
they can look for the "well known" flag ldap.PYLDAP_VERSION. If it doesn't
exist, then we it can be determined we are on python-ldap.

The following pattern can be used:

if hasattr(ldap, 'PYLDAP_VERSION'):
    # Do pyldap behaviour
else:
    # Do python-ldap behaviour
2016-02-18 15:59:28 +10:00
Petr Viktorin b323ffd746 Merge pull request #31 from hroncok/travistox
Travis CI: Use tox-travis to make .travis.yml more readable
2016-02-17 11:58:06 +01:00
Miro Hrončok 74e7435ce2 Travis CI: Use tox-travis to make .travis.yml more readable 2016-02-17 10:58:28 +01:00
Raphaël Barrois 262ccb0d7d Add pyldap-2.4.25 release. 2016-01-27 01:48:37 +01:00
Raphaël Barrois 3659f2bc67 Merge branch 'encukou-v2.4.25' 2016-01-27 01:47:34 +01:00
Petr Viktorin 29951f3723 Merge from CVS 2016-01-21 15:46:46 +01:00
stroeder e1c8ad0320 Prepare release 2.4.25 2016-01-18 15:16:29 +00:00
stroeder ad35a27f61 Real fix for attrlist=None regression introduced in 2.4.23 by ref count patch 2016-01-18 12:33:07 +00:00
Petr Viktorin 8564601828 Merge pull request #25 from hanwentao/port-macosx
Change include path of sasl.h for Mac OS X
2016-01-18 11:50:33 +01:00
stroeder 6bc49775e8 Real fix for attrlist=None regression introduced in 2.4.23 by ref count patch 2016-01-18 10:38:26 +00:00
stroeder 1d4bdc5b88 Work-around for attrlist=None regression introduced in 2.4.23 by ref count patch 2016-01-17 20:31:54 +00:00
stroeder 861529790c Started 2.4.24 2016-01-17 20:29:41 +00:00
stroeder 1cf5326eb1 Ref count issue in attrs_from_List() was fixed (thanks to Elmir Jagudin) 2016-01-16 19:08:34 +00:00
stroeder a2cf4c134b Started 2.4.23 2016-01-16 19:00:47 +00:00
stroeder be777af099 Missing items for 2.4.22 2016-01-16 19:00:08 +00:00
Raphaël Barrois e460f96927 [Py3] Fix handling of referals (closes #26).
An ActiveDirectory might return 'referal' entries to a ``search_s``
call; those are ``(None, [list, of, referals])`` tuples whereas the
usual items in a ``search_s()`` response are
``(dn, {attr_name: [list, of, values]})`` tuples.
2015-12-11 01:27:36 +01:00
stroeder 507dcd6b7d Removed OpenLDAP version number, better links for I-Ds 2015-12-09 17:57:18 +00:00
stroeder 634079e79b Replaced OpenLDAP version number 2.3 with 2.4 2015-12-09 17:56:38 +00:00
stroeder 7c569e3687 release 2.4.22: Use Sphinx' pyramid theme and set html_static_path 2015-12-09 17:33:14 +00:00
stroeder 7d16ba245c correct use of :c:func 2015-12-09 17:12:02 +00:00
Petr Viktorin 2fcfdc2843 .travis.yml: Add Python 3.5 2015-11-19 12:53:46 +01:00
Petr Viktorin 2b07379b53 Merge branch 'cvs' 2015-11-19 12:45:15 +01:00
stroeder 277a6f2add Fixed typos 2015-11-19 05:16:46 +00:00
Wentao Han 9a0a4bebdc Change include path of sasl.h for Mac OS X 2015-11-05 16:23:25 +08:00
stroeder 4df497cca5 Added SearchNoOpMixIn to __all__ 2015-10-24 16:21:56 +00:00
stroeder 5d85c44b83 Explicitly list limit exception types 2015-10-24 16:21:14 +00:00
stroeder b8844cb526 Prefer method name handle_modify() 2015-10-24 16:12:31 +00:00
stroeder c6b18c750b Corrected ldap.controls.pwdpolicy.__all__ 2015-10-24 15:55:07 +00:00
stroeder c9f34d5455 Undefined variable name 'SSSVLVPagedLDAPObject' in __all__ (undefined-all-variable) 2015-10-24 15:52:23 +00:00
stroeder 0fa88d045e LDIFParser.parse_change_records() now correctly calls handle_change_modify() 2015-10-24 15:50:00 +00:00
stroeder 12cf5911e0 ReconnectLDAPObject.sasl_bind_s() now correctly uses generic wrapper arguments *args,**kwargs 2015-10-24 15:46:12 +00:00
stroeder 2cc6d1102b Added key-word argument authz_id to LDAPObject methods sasl_non_interactive_bind_s(), sasl_external_bind_s() and sasl_gssapi_bind_s(). 2015-10-24 15:42:41 +00:00
stroeder 51ed53505d Started missing docs for sub-module ldap.sasl. 2015-10-24 15:27:03 +00:00
stroeder 5abe88935f Removed functions section and link to draft-chu-ldap-ldapi 2015-10-24 13:41:02 +00:00
stroeder c50d694247 Added example and link to RFC 4513 2015-10-24 13:07:33 +00:00
stroeder abef0bb5f3 Added stub for ldap.sasl 2015-10-24 12:49:41 +00:00
stroeder 71e9d46ae4 Updated release and copyright 2015-10-24 12:37:39 +00:00
Raphaël Barrois b58b779e91 Merge branch 'release'
Conflicts:
	CHANGES
2015-10-19 23:18:51 +02:00
Raphaël Barrois bbe4d13c83 Add pyldap-2.4.21 release 2015-10-19 23:17:34 +02:00