forked from pool/python-smbprotocol
Accepting request 869043 from home:mnhauke
- 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. - 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 OBS-URL: https://build.opensuse.org/request/show/869043 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-smbprotocol?expand=0&rev=18
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-smbprotocol
|
||||
Version: 1.2.0
|
||||
Version: 1.4.0
|
||||
Release: 0
|
||||
Summary: SMBv2/v3 client for Python 2 and 3
|
||||
License: MIT
|
||||
|
Reference in New Issue
Block a user