pysmb Changelog

What's new in pysmb 1.1.16

May 12, 2015
  • Fix typo errors in authentication error messages.
  • Improve share listings on SMB2 protocol by ignoring interim STATUS_PENDING responses.

New in pysmb 1.1.15 (Feb 16, 2015)

  • Add new parameter to SMBConnection’s storeFileFromOffset method to determine whether the remote file is to be truncated before writing.

New in pysmb 1.1.14 (Feb 2, 2015)

  • Add support for DFS shares in listPath().
  • Fix bug in python3’s SMB2 listPath implementation.

New in pysmb 1.1.13 (Oct 18, 2014)

  • Add missing methods and improve compatibility with python3. Thanks to keisetsu (github) for submitting the patch.
  • Fix bug in SMB2 rename implementation which fails to rename directory. Thanks to Jayke Meijer for raising the bug and providing the packet capture.

New in pysmb 1.1.12 (Sep 22, 2014)

  • Fix syntax error for python3 NBNSProtocol implementation
  • Fix bug in SMB1 implementation which results in access denied errors with Samba 3.0.

New in pysmb 1.1.11 (Sep 15, 2014)

  • Add support for unicode characters in domain, username and password.
  • Add storeFileFromOffset method to SMB API
  • Fix bug in getAttributes implementation for SMB1
  • Fix bug for NMB which uses broadcast flag for unicast queries
  • Update the Tree Connect Andx request implementation to MS-SMB 2.2.4.7.1 extensions

New in pysmb 1.1.10 (Jun 30, 2014)

  • Add getAttributes() method to SMBConnection and SMBProtocolFactory class.
  • Add isReadOnly property to SharedFile class.

New in pysmb 1.1.9 (Jun 2, 2014)

  • Add support for domains in smb:// URLs.
  • Fix a bug which fails to test for the correct GSS security provider OID values. Thanks for Fanen for bug report and assistance in testing the fix

New in pysmb 1.1.8 (Dec 23, 2013)

  • Fix a bug in storeFile() method when the destination file is not overwritten if it exists in SMB1 communication. Thanks to Vaikar Amol for reporting this bug and helping to fix it
  • Fix a SMB1 authentication problem when extended negotation is not carried out because the remote server has specified its support for extended security in the payload, instead of in the message flags2

New in pysmb 1.1.7 (Sep 30, 2013)

  • Improve listShares() function which can fail with the listing response is separated into multiple SMB packets for large number of shares. Thanks to Pieter De Clerck for reporting this bug and helping to test the bug fix.
  • Fix bug in python3 implementation where session connection can fail when remote server supports message signing. Thanks to Simon for reporting this bug.

New in pysmb 1.1.6 (Aug 19, 2013)

  • Fix bug where the status of the SMB_COM_NEGOTIATE reply is not checked for error before allowing further processing.

New in pysmb 1.1.5 (Jun 20, 2013)

  • Add support for Direct hosting of SMB over TCP/IP (TCP port 445)

New in pysmb 1.1.4 (Jun 20, 2013)

  • Improve query performance for query IP addresses for NetBIOS names in NetBIOSProtocol.py.
  • Fix bugs in SMBConnection when sending large data packets can result in AssertionError.

New in pysmb 1.1.3 (Jun 20, 2013)

  • Fix a bug which results in endless loop in SMBConnection when remote CIFS server closes the connection.

New in pysmb 1.1.2 (Jun 20, 2013)

  • Improve queryIPForName() in nmb.NetBIOS and nmb.NBNSProtocol class to return only server machine name and ignore workgroup names.

New in pysmb 1.1.1 (Jun 11, 2012)

  • 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 Python3 ready yet.
  • Adds support for retrieving list of shadow copies (also known as “previous versions” in Windows). Note that not all Windows editions support shadow copies.

New in pysmb 1.0.2 (Apr 2, 2012)

  • Fix a bug in SMB._handleSessionChallenge() method in base.py where the domain attribute was not used to generate the corresponding NTLM authentication packets, resulting in the default WORKGROUP domain for used for all subsequent authentications. Thanks to John Lau for submitting the bug report.

New in pysmb 1.0.1 (Apr 2, 2012)

  • Fixes a bug in listPath() method which causes directory listing for sub-directories to return an empty list
  • Fixes an incorrect implementation of the TRANS2_FIND_FIRST2 and TRANS2_FIND_NEXT2 request/response handling which causes directory listing to crash when the remote directory contains a certain number of entries

New in pysmb 0.4.5 (Apr 2, 2012)

  • Prevents pysmb from failing when there are too many files/folders to
  • be returned in a single SMB TRANS2 call. pysmb will “resume” requesting
  • for more files/folders information in subsequent SMB TRANS2 requests

New in pysmb 0.4.4 (Apr 2, 2012)

  • Add in support for AMK’s Python Cryptography Toolkit which will be used for DES password hashing. If AMK’s pycrypto is found, it will be used instead of mxCrypto.

New in pysmb 0.4.3 (Apr 2, 2012)

  • Fix a bug which fails to close the socket in nmb.py on socket exception
  • Fix a bug which fails to close the NetBIOSSession in smb.py if the session has not been properly established yet

New in pysmb 0.4.2 (Apr 2, 2012)

  • Add new methods to SharedFile instances, get_mtime_epoch, get_atime_epoch and get_ctime_epoch. These methods will return the mtime, atime and ctime in epoch time rather than SMB time.
  • Remove debugging printout in smb.py which has been released accidentally with the last release.
  • Fix a bug in smbcp which causes to local to remote copy to fail

New in pysmb 0.4.1 (Apr 2, 2012)

  • Fix a bug in smb.py which does not return the correct file size for files with their archive bits turned off. This results in these files not being retrieved or sent properly.
  • Fix some typo error in the documentations

New in pysmb 0.4.0 (Apr 2, 2012)

  • Use NT LM0.12 dialect.
  • New smb.SMBMachine class
  • Add SMB.get_server_domain(), smb.get_server_os(), SMB.get_server_lanman()