From 5d3a39584d451aabb22e725253b7b28c2431f0ce7c25134b31ad28f0381bcae7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 15 Apr 2018 19:37:19 +0000 Subject: [PATCH 1/2] Accepting request 596763 from home:stroeder:branches:devel:languages:python update to version 2.5 OBS-URL: https://build.opensuse.org/request/show/596763 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap3?expand=0&rev=15 --- ldap3-2.5.tar.gz | 3 +++ python-ldap3.changes | 35 +++++++++++++++++++++++++++++++++++ python-ldap3.spec | 4 ++-- v2.4.1.tar.gz | 3 --- 4 files changed, 40 insertions(+), 5 deletions(-) create mode 100644 ldap3-2.5.tar.gz delete mode 100644 v2.4.1.tar.gz diff --git a/ldap3-2.5.tar.gz b/ldap3-2.5.tar.gz new file mode 100644 index 0000000..ca47edd --- /dev/null +++ b/ldap3-2.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b5a54bcdd08f25d31ebc0679e34e46b8b403d70c46363159be668695b1f22b9 +size 920336 diff --git a/python-ldap3.changes b/python-ldap3.changes index c5bdd61..c6b9dfa 100644 --- a/python-ldap3.changes +++ b/python-ldap3.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Sun Apr 15 16:59:21 UTC 2018 - michael@stroeder.com + +- update to version 2.5 + * abstract layer now handles auxiliary classes + * pwdLAstSet in AD is valid for 0 and -1 (thanks Taylor) + * fixed extend.novell.get_universal_password (thanks Fernando) + * entryUUID is properly validated in search filters (thanks FriedrichI) + * custom attribute formatters are properly applied when parsing the search filter + * REUSABLE strategy now honours credentials when changed in the original connection (thanks Prof Hase) + * add operation doesn't change passed attribute dict anymore (thanks Daniele) + * missing entry's attribute return False when searching instead of raising an exception (thanks Maxsond) + * fixed ad_timestamp evaluation for integers (thanks Flynn) + * wrong exception raised when user name is empty in simple binding (thanks Ivan) + * exception is raised if size limit is exceed when searchin in mocking strategies with raise_exceptions=True (thanks David) + * 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 (thanks guidow) + * added escape_rdn_chars() to ldap3.utils.dn for safe checking untrusted input while building DNs (thanks Alex) + * fixed search for binary values in mock strategies + * fixed exception with unicode chars in subfilters for python 2 (thanks Friedrich) + * connection.extend.paged_search() doens't miss the last entries anymore when size limit is exceeded for the search on the server (thanks Friedrich) + * validators are not applied when loading data from json dump in Mock strategies (thanks Derek) + * additional validator to check for erroneous bytes to string conversion in Python 3 (thanks Brian) + * additional formatter and validator to check for generalizedtime with 0 year (thanks Brian) + * added ADDITIONAL_CLIENT_ENCODINGS parameter + * fixed AD dir_sync extended operation (thanks Lucas) + * ad_unlock_account works properly (thanks Francowxu) + * added Microsoft security descriptor control (thanks Dirk-jan) + * fixed search in mock strategies when raise_exceptions=True (thanks Derek) + * formatters never raise exceptions but returns the raw_value when unable to format + * fixed comtrols duplication in paged search (thanks Dirk-jan) + ------------------------------------------------------------------- Wed Jan 24 14:21:40 UTC 2018 - tchvatal@suse.com diff --git a/python-ldap3.spec b/python-ldap3.spec index d94c6eb..03446ae 100644 --- a/python-ldap3.spec +++ b/python-ldap3.spec @@ -18,13 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ldap3 -Version: 2.4.1 +Version: 2.5 Release: 0 Summary: A strictly RFC 4511 conforming LDAP V3 pure Python client License: LGPL-3.0 Group: Development/Languages/Python Url: https://github.com/cannatag/ldap3 -Source: https://github.com/cannatag/ldap3/archive/v%{version}.tar.gz +Source: https://github.com/cannatag/ldap3/archive/ldap3-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module nose} BuildRequires: %{python_module pyasn1 >= 0.1.8} diff --git a/v2.4.1.tar.gz b/v2.4.1.tar.gz deleted file mode 100644 index bdd508c..0000000 --- a/v2.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2220dad97d5801b7f64f81bf489941066a490e56c1371c314bdd69f70a544af3 -size 913716 From e9c4113480f28a213f02093d44311ed312e2e3a484d786d8b133c229518464bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 16 Apr 2018 08:28:13 +0000 Subject: [PATCH 2/2] - Use real URL, not some inventive lies OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap3?expand=0&rev=16 --- python-ldap3.changes | 5 +++++ python-ldap3.spec | 9 +++++---- ldap3-2.5.tar.gz => v2.5.tar.gz | 0 3 files changed, 10 insertions(+), 4 deletions(-) rename ldap3-2.5.tar.gz => v2.5.tar.gz (100%) diff --git a/python-ldap3.changes b/python-ldap3.changes index c6b9dfa..4c3482b 100644 --- a/python-ldap3.changes +++ b/python-ldap3.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 16 08:25:44 UTC 2018 - tchvatal@suse.com + +- Use real URL, not some inventive lies + ------------------------------------------------------------------- Sun Apr 15 16:59:21 UTC 2018 - michael@stroeder.com diff --git a/python-ldap3.spec b/python-ldap3.spec index 03446ae..d90dbe0 100644 --- a/python-ldap3.spec +++ b/python-ldap3.spec @@ -21,10 +21,10 @@ Name: python-ldap3 Version: 2.5 Release: 0 Summary: A strictly RFC 4511 conforming LDAP V3 pure Python client -License: LGPL-3.0 +License: LGPL-3.0-only Group: Development/Languages/Python -Url: https://github.com/cannatag/ldap3 -Source: https://github.com/cannatag/ldap3/archive/ldap3-%{version}.tar.gz +URL: https://github.com/cannatag/ldap3 +Source: https://github.com/cannatag/ldap3/archive/v%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module nose} BuildRequires: %{python_module pyasn1 >= 0.1.8} @@ -58,7 +58,8 @@ sed -i 's/\r$//' COPYING.LESSER.txt COPYING.txt README.rst LICENSE.txt %python_exec %{_bindir}/nosetests -s test || : %files %{python_files} -%doc COPYING.LESSER.txt COPYING.txt LICENSE.txt README.rst +%license COPYING.LESSER.txt COPYING.txt LICENSE.txt +%doc README.rst %{python_sitelib}/ldap3 %{python_sitelib}/ldap3-%{version}-py*.egg-info diff --git a/ldap3-2.5.tar.gz b/v2.5.tar.gz similarity index 100% rename from ldap3-2.5.tar.gz rename to v2.5.tar.gz