NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2168 most downloaded on PyPI
pysmb is an experimental SMB/CIFS library written in Python to support file sharing between Windows and Linux machines
Last release 1 months ago
08 Aug 2026
Release timing varies
gaps range from 8 days to 1.7 years
Nearly every release is documented
notes for 51 of 52 stable releases
1 version withdrawn
withdrawn after publishing
15 years old
53 releases · first in 2011
Fix SMB._listPath_SMB1 to honor negotiated max_buffer_size
Add setLastWriteTime() method for assigning the last modification time of a file/folder
Fix type hinting issues on Python versions prior to 3.9.
One column per quarter.
Add support for NetBIOS packet polling on Linux
Fix out-of-memory issues during large file operations (due to accumulation of messages in message_history).
Fix a bug where the OperationFailure exceptions do not contain the error messages that were thrown when the exception occurred
Nothing published for this version
Add support for tqdm progress display
Fix issue with listPath based on recommendation in #195
Fix compatibility issues on file retrievals with Likewise servers
Fix bug in SMB1 store file implmentation which generates SMB_COM_WRITE_ANDX packets larger than the allowed max buffer size
Fix bug in filename encoding which leads to failure for file retrieval and upload operations (#170 #171).
Remove dependency on pycrypto as it is no longer under active maintenance
Fix bug in session key generation during session negotiation
Improve SMB URL handlers to support specifying server's machine name and IP address.
Fix bug in deleteFiles() method which can fail for certain search patterns.
Add new parameter, delete_matching_folders, to deleteFiles() method to support deletion of child folders that match the search pattern.
Fix unhandled exception for short NBNS queries #149
SharedFile instances returned from the listPath() method now has a new file_id attribute which represents the file reference number given by the SMB s
Remove support for SMB-2.1 dialect as it seems to have issues with Windows 2008 R2
Prevents OperationError from being raised when listPath() operation does not return any matching file results.
Fix buggy support for search parameter in listPath() method. Add SMB_FILE_ATTRIBUTE_INCL_NORMAL bit constant to include 'normal' files with other file
Improve listPath implementation for SMB1
Fix bug in listShares() method which fails when the remote server has many shares.
Fix bug in getAttributes() method which should return only the filename instead of the entire path for the filename property for the return result.
Fix bug where timestamp values for SMB1 getAttributes() response are not converted properly from FILETIME to epoch time values.
Add getSecurity() method to support security descriptors query via SMB2
Ignore STATUS_PENDING during delete and file store operations
Rollback fixes to NTLMv2 response algorithm in pysmb 1.1.17. The fixes fail to work with some servers.
Fix crashes in directory listing with keyerror 'support_dfs'
Fix typo errors in authentication error messages
Add new parameter to SMBConnection's storeFileFromOffset method to determine whether the remote file is to be truncated before writing.
Add support for DFS shares in listPath()
Add missing methods and improve compatibility with python3
Fix syntax error for python3 NBNSProtocol implementation
Add support for unicode characters in domain, username and password.
Add getAttributes() method to SMBConnection and SMBProtocolFactory class
Add support for domains in smb:// URLs
Fix a bug in storeFile() method when the destination file is not overwritten if it exists in SMB1 communication
Improve listShares() function which can fail with the listing response is separated into multiple SMB packets for large number of shares.
Fix bug where the status of the SMB_COM_NEGOTIATE reply is not checked for error before allowing further processing.
Adds support for Direct hosting of SMB over TCP/IP (TCP port: 445)
Improve query performance for query IP addresses for NetBIOS names in NetBIOSProtocol.py
Fix bug which results in endless loop in SMBConnection when remote CIFS server closes the connection.
Improve queryIPForName() in nmb.NetBIOS and nmb.NBNSProtocol class to return only server machine name and ignore workgroup names.
Adds support for Python3. Noted that the Python3 SMB/NMB protocol implementations for Twisted are not well-tested as Twisted (as of v12.1) is not Pyth
Adds SMB2 protocol implementation with signing for outgoing SMB2 messages. pysmb will utilize SMB2 protocol with servers that support SMB2 (eg. Window
Add supports for SMB message signing. pysmb will sign all SMB messages from the CIFS client to the server, but it does not verify the signatures of th
Adds support for "smb://" URL in urllib2 python packages to retrieve or upload files from/to remote CIFS servers.
Fix a crash in SMB._storFile() method which occurs when the remote CIFS server utilizes a max raw size larger than 65535 bytes. The bug was discovered
Fix a bug in SMB._handleSessionChallenge() method in base.py where the domain attribute was not used to generate the corresponding NTLM authentication
Fixes a bug in listPath() method which causes directory listing for sub-directories to return an empty list.
Completely rewrites pysmb. API is not compatible with previous pysmb-0.x.x
Your coding agent can read these notes before it upgrades. Set up the MCP server →