14
0

Accepting request 869527 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/869527
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-smbprotocol?expand=0&rev=9
This commit is contained in:
2021-02-04 19:24:44 +00:00
committed by Git OBS Bridge
4 changed files with 47 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:43935ee63830c8aca5d84b837e1e8235f0b2e1a7c400771145c68306cf37dc18
size 177006

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f80ae1ba742f7336cc882914faa1ee65ef247278bf898b995cc0ecfeaa830847
size 179951

View File

@@ -1,3 +1,45 @@
-------------------------------------------------------------------
Wed Feb 3 22:22:15 UTC 2021 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.4.0
* Fixed up secure negotiation logic when connecting to older
SMB dialects.
* Will attempt to perform secure negotiation even on older
dialects that may not implement it properly.
* Added `ClientConfig` option `require_secure_negotiate` to
globally turn off secure negotiation if the client wishes.
* Fix explicit `ntlm` or `kerberos` authentication when the
server response with the initial SPNEGO mech list token.
-------------------------------------------------------------------
Thu Jan 28 21:52:39 UTC 2021 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.3.0
* Changed initial credit request from 256 to 64 when creating
the SMB session.
+ This is done to avoid overloading the SMB server.
+ If smbclient requires more credits to perform an operation
it will request it automatically.
* Improve credit handling when reading and writing large amounts
of data to reduce the number of requests being made.
* Fixed up write() in smbclient.open_file() to be able to write
bytes greater than the max_write_size.
* Fixed issue when receiving an unknown NtStatus error code from
the server.
* Added PipeBusy exception for STATUS_PIPE_NOT_AVAILABLE
0xC00000AD error responses.
* Fix credit granting calculation when receiving a compound
response.
+ Original logic granted len(responses) - 1 credits than what
the server actually given causing errors when the client ran
out of credits without it knowing.
* Added auth_protocol to Session, ClientConfig, and
register_session() to control what authentication protocol is
used.
+ This can be negotiate (default), kerberos, or ntlm where
negotiate selects kerberos or ntlm depending on what's
available.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Oct 25 15:55:37 UTC 2020 - Martin Hauke <mardnh@gmx.de> Sun Oct 25 15:55:37 UTC 2020 - Martin Hauke <mardnh@gmx.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-smbprotocol # spec file for package python-smbprotocol
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-smbprotocol Name: python-smbprotocol
Version: 1.2.0 Version: 1.4.0
Release: 0 Release: 0
Summary: SMBv2/v3 client for Python 2 and 3 Summary: SMBv2/v3 client for Python 2 and 3
License: MIT License: MIT