14
0

Accepting request 881306 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/881306
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-smbprotocol?expand=0&rev=10
This commit is contained in:
Richard Brown
2021-03-25 13:53:02 +00:00
committed by Git OBS Bridge
4 changed files with 28 additions and 4 deletions

View File

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

View File

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

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Thu Mar 25 09:39:12 UTC 2021 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.5.0
* Added smbprotocol.exceptions.SMBConnectionClosed that is
raised when trying to send or receive data on a connection
that has been closed.
* Added smbprotocol.exceptions.WrongPassword that is raised when
some servers indicate the password is not correct or the
account is locked out.
* Do not attempt to reuse any cached connections that have been
closed in smbclient
* Added a lock when writing to the socket, only 1 thread can
write a message at a single point in time
* Revamped the SMB receiver code to simplify the logic and make
it more durable
+ Removed the TCP recv thread for each connection, now each
connection uses just 1 thread instead of 2.
+ Be more defensive when reading data from a socket to ensure
we get all the data we require.
+ Handled server side FIN packets that close the connection
unexpectedly, any requests waiting for a response will
raise SMBConnectionClosed.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 3 22:22:15 UTC 2021 - Martin Hauke <mardnh@gmx.de> Wed Feb 3 22:22:15 UTC 2021 - Martin Hauke <mardnh@gmx.de>

View File

@@ -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.4.0 Version: 1.5.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