15
0
forked from pool/python-ldap3

- Update to 2.6.1:

- added eDirectory 9.1.4 (EDIR_9_1_4) to offline schemas
  - added json converter for timedelta (thanks dirkjanm)
  - strip parameter defaults to False in utils.dn.parse_dn()
  - escaped space is allowed as trailing character in attribute_value in utils.dn.parse_dn() (thanks phi1010)
  - connection.extend.standard.paged_search doesn't raise exceptions when raise_exceptions is False
  - the Search operation returns the entries fetched by the server when size or time limits are reached even if raise_exceptions is set to True
  - Handle the minimum value that can be stored in an Int64 in format_ad_timedelta (thanks mprahl)
  - EntryState: `entry_raw_attributes` is populated instead of `raw_attributes` (thanks Christian)
  - Removed restriction to perform rename and move simultaneously in modify_dn (thanks Fabian)
  - fixed checking for hexdigits in parse_dn (thanks Michael)
  - fixed escaping when multiple backslashes are present in parse_dn (thanks Phillip)
  - fixed multiple NoneType exceptions in entry_to_json() (thanks David and cfelder)
  - allowing Microsoft specific syntax (<WKGUID=xxx>) for WellKnownObjects in DN (thanks David)
  - connection.extend.standard.paged_search() now follows referrals when auto_referrals=True (thanks kprativa)
  - fixed a bug in decoding replica list in connection.extend.novell.list_replicas()
  - fixed a bug when adding duplicate alias in CaseInsensitiveWithAliasDict()
  - added ignore_duplicates=False in set_aliases in CaseInsensitiveWithAliasDict() to ignore a duplicate alias (either in aliases or in keys)
  - Schema info now uses CaseInsensitiveWithAlias dict as default so object and attributes can also be referentiated with OID (thanks ahoffm11)
  - added block mode and timeout parameters to next() method of persistent_search
  - when using the pyasn1 decoder raw_dn is not returned as a pyasn1 object anymore but as bytes
  - Return offset timezone aware datetime for max AD timestamp (thanks Jussi)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap3?expand=0&rev=25
This commit is contained in:
Tomáš Chvátal
2019-10-10 08:17:20 +00:00
committed by Git OBS Bridge
parent 057c9b8706
commit 757d9b66fb
4 changed files with 32 additions and 6 deletions

View File

@@ -18,16 +18,16 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-ldap3
Version: 2.6
Version: 2.6.1
Release: 0
Summary: A strictly RFC 4511 conforming LDAP V3 pure Python client
License: LGPL-3.0-only
Group: Development/Languages/Python
URL: https://github.com/cannatag/ldap3
Source: https://github.com/cannatag/ldap3/archive/v%{version}.tar.gz
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pyasn1 >= 0.1.8}
BuildRequires: %{python_module setuptools}
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-testsuite
@@ -44,7 +44,7 @@ The name has been changed to avoid confusion with the python-ldap library.
%prep
%setup -q -n ldap3-%{version}
sed -i 's/\r$//' COPYING.LESSER.txt COPYING.txt README.rst LICENSE.txt
dos2unix COPYING.LESSER.txt COPYING.txt README.rst LICENSE.txt
%build
%python_build