diff --git a/python-ldap3.changes b/python-ldap3.changes index 9b118e5..f76d16c 100644 --- a/python-ldap3.changes +++ b/python-ldap3.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Jan 27 16:56:28 UTC 2021 - Markéta Machová + +- Update to 2.9 + * SafeSync strategy (SAFE_SYNC) for using a synchronous Connection + object in a multi-threading program + * try to use Crypto library if present for hashing NTLM password + on python interpreter missing the MD4 OpenSSL algorithm + * SafeRestartable strategy (SAFE_RESTARTABLE) for using a restartable + Connection object in a multi-threading program + * many smaller changes and bugfixes +- Rebase skip-missing-LDAP-server.patch + * suprisingly still needed + ------------------------------------------------------------------- Fri Jul 24 00:46:48 UTC 2020 - Matej Cepl diff --git a/python-ldap3.spec b/python-ldap3.spec index 7c59d9a..ecf0ad3 100644 --- a/python-ldap3.spec +++ b/python-ldap3.spec @@ -1,7 +1,7 @@ # # spec file for package python-ldap3 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ldap3 -Version: 2.7 +Version: 2.9 Release: 0 Summary: A strictly RFC 4511 conforming LDAP V3 pure Python client License: LGPL-3.0-only @@ -66,6 +66,6 @@ export STRATEGY=SYNC SERVER=EDIR DECODER=INTERNAL %license COPYING.LESSER.txt COPYING.txt LICENSE.txt %doc README.rst %{python_sitelib}/ldap3 -%{python_sitelib}/ldap3-%{version}-py*.egg-info +%{python_sitelib}/ldap3-%{version}*-py*.egg-info %changelog diff --git a/skip-missing-LDAP-server.patch b/skip-missing-LDAP-server.patch index ad9b5df..f90082f 100644 --- a/skip-missing-LDAP-server.patch +++ b/skip-missing-LDAP-server.patch @@ -1,16 +1,10 @@ ---- a/test/config.py -+++ b/test/config.py -@@ -25,6 +25,7 @@ from os import environ, remove - from os import path - from random import SystemRandom - from tempfile import gettempdir -+from unittest import SkipTest - - from ldap3 import SIMPLE, SYNC, ROUND_ROBIN, IP_V6_PREFERRED, IP_SYSTEM_DEFAULT, Server, Connection,\ - ServerPool, SASL, STRING_TYPES, get_config_parameter, set_config_parameter, \ -@@ -380,7 +381,7 @@ elif location == 'W10GC9227-AD': - test_logging_filename = path.join(gettempdir(), 'ldap3.log') - test_valid_names = ['10.160.201.232'] +Index: ldap3-2.8/test/config.py +=================================================================== +--- ldap3-2.8.orig/test/config.py ++++ ldap3-2.8/test/config.py +@@ -443,7 +443,7 @@ elif location.endswith('-NONE'): + test_logging_filename = 'ldap3-none.log' + test_valid_names = None else: - raise Exception('testing location ' + location + ' is not valid') + raise SkipTest('testing location ' + location + ' is not valid') diff --git a/v2.7.tar.gz b/v2.7.tar.gz deleted file mode 100644 index a090a35..0000000 --- a/v2.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:adc7dccb19bedbeb40ac19b3b29c12ec8ca4514ebbca53e449c172b2aa209539 -size 956927 diff --git a/v2.9.tar.gz b/v2.9.tar.gz new file mode 100644 index 0000000..e28d49f --- /dev/null +++ b/v2.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a55ec0a5a1181dc345a73e24488516028e33976852199ea182dca71d3635223 +size 970490