Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python310-smbprotocol | Distribution: openSUSE:Factory:zSystems |
Version: 1.15.0 | Vendor: openSUSE |
Release: 1.2 | Build date: Mon Nov 11 23:08:22 2024 |
Group: Development/Languages/Python | Build host: reproducible |
Size: 961222 | Source RPM: python-smbprotocol-1.15.0-1.2.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/jborean93/smbprotocol | |
Summary: SMBv2/v3 client for Python 2 and 3 |
This library implements the SMBv2 and SMBv3 protocol. Features -------- - Negotiation of the SMB 2.0.2 protocol to SMB 3.1.1 (Windows 10/Server 2016) - Authentication with both NTLM and Kerberos - Message signing - Message encryption (SMB 3.x.x+) - Connect to a Tree/Share - Opening of files, pipes and directories - Set create contexts when opening files - Read and writing of files and pipes - Sending IOCTL commands - Sending of multiple messages in one packet (compounding)
MIT
* Mon Nov 11 2024 Martin Hauke <[email protected]> - Update to version 1.15.0 * Fix Impacket logoff session id check. * Update session id logic. * Add smbclient.liststreams to enumerate ADS streams. * Add some type annotations, most notably to smbclient.open_file * Add Python 3.13 support. * Sun Nov 10 2024 Martin Hauke <[email protected]> - Update to version 1.14.0 * type information of SMBDirEntryInformation.last_write_time set to datetime. * Customizable receive timeout for SMB Connection * Dropped support for Python 3.7 * SMBDirEntryInformation.last_write_time is now annotated as datetime.datetime. Previously, it was datetime.date. * Thu Mar 21 2024 Dirk Müller <[email protected]> - update to 1.13.0: * Added the property `smb_info` on `SMBDirEntry` which returns a named tuple `SMBDirEntryInformation` containing metadata already retrieved in the `scandir` operation. * This avoid having to call `stat()` to retrieve data like the file attributes or datetime fields that is already available * Ensure `DateTimeField` values are set to `UTC` timezones as FILETIME values are in UTC * Stop using `datetime.datetime.utcfromtimestamp()` as it has been deprecated * Added default timeout for disconnect operations for 60 seconds to ensure the process doesn't hang forever when closing a broken connection * `smbprotocol.connection.Connection.disconnect()` now waits (with a timeout) for the message processing threads to be stopped before returning. * Do not set the SMB SessionId and TreeId in the headers to `0xFFFFFFFF` for related compound requests + Ensures the source file for `shutil.copyfile` is opened with `share_access="r"` for better compatibility with files already opened by something else + Remove endless authentication loop when the context is complete and no more input messages are needed * Fri Nov 24 2023 Martin Hauke <[email protected]> - Update to version 1.12.0 * Add 0xc000007f to mapping. * Added the DiskFull error and message for the NTSTATUS code 0xC000007F. * Tue Sep 05 2023 Martin Hauke <[email protected]> - Update to version 1.11.0 * Fix up pre authenticated session id lookups that were failing with Linux ksmbd. * Removes logging.NullHandler() being set in the root smbprotocol namespace. * Adds basic support for remote to local and vice versa file operations with smbclient.shutil.copytree. * Fixes DFS infinite recursion error when dealing with a file that does not exist on a DFS namespace. * Mon Dec 05 2022 Yogalakshmi Arunachalam <[email protected]> - Update to version 1.10.1 * Raise the original BadNetworkName error if the server doesn't indicate it supports DFS or FSDriverRequired was raised trying to lookup the DFS information - #196 * Fix pre auth session id tracking if the intermediate token messages return 0 as the session id * Sun Nov 06 2022 Martin Hauke <[email protected]> - Update to version 1.10.0 * Allow server side copy across different shares on the same server. * Improve DFS file opens. * Fix rename operations for a DFS path. * Fix negotiate request context padding. * Fri Oct 21 2022 [email protected] - python-six is not required * Fri Oct 07 2022 Yogalakshmi Arunachalam <[email protected]> - Update to version 1.9.0 * Fix connection cache reuse for some DFS referral requests * Add smbclient.path to the smbclient import allowing import smbclient; smbclient.path.func() * Thu Nov 18 2021 Martin Hauke <[email protected]> - Update to version 1.8.3 * Set additional_information field in SMB2SetInfoRequest to a flags field rather than a single enum as per protocol docs. * Tue Nov 02 2021 Martin Hauke <[email protected]> - Update to version 1.8.2 * Add missing FileAttributes enum values * Set messages with FileAttributes to be non-strict allowing unknown values in the future to be parsed without an error * Wed Oct 27 2021 Martin Hauke <[email protected]> - Update to version 1.8.1 * Raises ObjectPathNotFound if a DFS referral is required but not referrals are available (#149) * Mon Oct 25 2021 Martin Hauke <[email protected]> - Update to version 1.8.0 * Added support for 256bit keyed encryption ciphers * Added support for signing with AES GCM * Now sends the SMB2_NETNAME_NEGOTIATE_CONTEXT_ID with the negotiate request * Adds the Python requirement of pykrb5 for Kerberos support on non-Windows * Fix unpacking security descriptor ACEs with extra data on the end * Set index_number in FileInternalInformation to be an unsigned integer to match the other structures * Clear out expired DFS referrals to avoid memory leaks and stale DFS information - Update to version 1.7.0 * Improve connection health checks to reduce the occurances of an infinite deadlock * Added more exception error classes * Added create_action to the Open object that describes how the file was opened * Added follow_symlinks option to SMBDirEntry.from_path to control whether the entry. * Tue Aug 17 2021 Martin Hauke <[email protected]> - Update to version 1.6.2 * Fix up cached credential logic when setting domain_controller in the initial config singleton - Update to version 1.6.1 * Remove print() statement that was used during testing - Update to version 1.6.0 * Dropped support for Python 2.7 and 3.5 * Add performance improvement on reads with large files * Added the require_signing kwarg to smbclient.register_session() to allow the caller to control whether signing is required on the connection or not. * Fix OverflowError when handling FILETIME values beyond the year 9999 - caps the value to 9999-12-31 due to a Python limitation * Fix up credit charge calculation which causes a STATUS_INVALID_PARAMETER response for certain read/write lengths. * Ensure responses with a failure are cleaned up from the outstanding request table to avoid memory leaks. * Thu May 13 2021 Martin Hauke <[email protected]> - Update to version 1.5.1 * Unified DFS path handling when using any API that uses a transaction to open the file. - This includes smbclient.rename and smbclient.replace * Fixed up smbclient.rename to work with directories. * smbclient.scandir will continue to use the connection cache when getting stat information of a dir entry. * smbclient.shutil.rmtree will continue to use the connection cache when removing child entries. * Thu Mar 25 2021 Martin Hauke <[email protected]> - 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 03 2021 Martin Hauke <[email protected]> - 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 2021 Martin Hauke <[email protected]> - 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.
/usr/lib/python3.10/site-packages/smbclient /usr/lib/python3.10/site-packages/smbclient/__init__.py /usr/lib/python3.10/site-packages/smbclient/__pycache__ /usr/lib/python3.10/site-packages/smbclient/__pycache__/__init__.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbclient/__pycache__/__init__.cpython-310.pyc /usr/lib/python3.10/site-packages/smbclient/__pycache__/_io.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbclient/__pycache__/_io.cpython-310.pyc /usr/lib/python3.10/site-packages/smbclient/__pycache__/_os.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbclient/__pycache__/_os.cpython-310.pyc /usr/lib/python3.10/site-packages/smbclient/__pycache__/_pool.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbclient/__pycache__/_pool.cpython-310.pyc /usr/lib/python3.10/site-packages/smbclient/__pycache__/path.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbclient/__pycache__/path.cpython-310.pyc /usr/lib/python3.10/site-packages/smbclient/__pycache__/shutil.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbclient/__pycache__/shutil.cpython-310.pyc /usr/lib/python3.10/site-packages/smbclient/_io.py /usr/lib/python3.10/site-packages/smbclient/_os.py /usr/lib/python3.10/site-packages/smbclient/_pool.py /usr/lib/python3.10/site-packages/smbclient/path.py /usr/lib/python3.10/site-packages/smbclient/shutil.py /usr/lib/python3.10/site-packages/smbprotocol /usr/lib/python3.10/site-packages/smbprotocol-1.15.0.dist-info /usr/lib/python3.10/site-packages/smbprotocol-1.15.0.dist-info/INSTALLER /usr/lib/python3.10/site-packages/smbprotocol-1.15.0.dist-info/LICENSE /usr/lib/python3.10/site-packages/smbprotocol-1.15.0.dist-info/METADATA /usr/lib/python3.10/site-packages/smbprotocol-1.15.0.dist-info/RECORD /usr/lib/python3.10/site-packages/smbprotocol-1.15.0.dist-info/REQUESTED /usr/lib/python3.10/site-packages/smbprotocol-1.15.0.dist-info/WHEEL /usr/lib/python3.10/site-packages/smbprotocol-1.15.0.dist-info/top_level.txt /usr/lib/python3.10/site-packages/smbprotocol/__init__.py /usr/lib/python3.10/site-packages/smbprotocol/__pycache__ /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/__init__.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/__init__.cpython-310.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/_text.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/_text.cpython-310.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/change_notify.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/change_notify.cpython-310.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/connection.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/connection.cpython-310.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/create_contexts.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/create_contexts.cpython-310.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/dfs.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/dfs.cpython-310.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/exceptions.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/exceptions.cpython-310.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/file_info.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/file_info.cpython-310.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/header.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/header.cpython-310.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/ioctl.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/ioctl.cpython-310.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/open.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/open.cpython-310.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/query_info.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/query_info.cpython-310.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/reparse_point.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/reparse_point.cpython-310.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/security_descriptor.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/security_descriptor.cpython-310.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/session.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/session.cpython-310.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/structure.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/structure.cpython-310.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/transport.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/transport.cpython-310.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/tree.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/smbprotocol/__pycache__/tree.cpython-310.pyc /usr/lib/python3.10/site-packages/smbprotocol/_text.py /usr/lib/python3.10/site-packages/smbprotocol/change_notify.py /usr/lib/python3.10/site-packages/smbprotocol/connection.py /usr/lib/python3.10/site-packages/smbprotocol/create_contexts.py /usr/lib/python3.10/site-packages/smbprotocol/dfs.py /usr/lib/python3.10/site-packages/smbprotocol/exceptions.py /usr/lib/python3.10/site-packages/smbprotocol/file_info.py /usr/lib/python3.10/site-packages/smbprotocol/header.py /usr/lib/python3.10/site-packages/smbprotocol/ioctl.py /usr/lib/python3.10/site-packages/smbprotocol/open.py /usr/lib/python3.10/site-packages/smbprotocol/query_info.py /usr/lib/python3.10/site-packages/smbprotocol/reparse_point.py /usr/lib/python3.10/site-packages/smbprotocol/security_descriptor.py /usr/lib/python3.10/site-packages/smbprotocol/session.py /usr/lib/python3.10/site-packages/smbprotocol/structure.py /usr/lib/python3.10/site-packages/smbprotocol/transport.py /usr/lib/python3.10/site-packages/smbprotocol/tree.py /usr/share/doc/packages/python310-smbprotocol /usr/share/doc/packages/python310-smbprotocol/CHANGELOG.md /usr/share/doc/packages/python310-smbprotocol/README.md /usr/share/licenses/python310-smbprotocol /usr/share/licenses/python310-smbprotocol/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jan 7 00:09:38 2025