Bot releases are hidden (Show)
SMBDirEntryInformation.last_write_time
is now annotated as datetime.datetime
. Previously, it was datetime.date
. https://github.com/jborean93/smbprotocol/issues/279
Full Changelog: https://github.com/jborean93/smbprotocol/compare/v1.13.0...v1.14.0
Published by jborean93 7 months ago
smb_info
on SMBDirEntry
which returns a named tuple SMBDirEntryInformation
containing metadata already retrieved in the scandir
operation.
stat()
to retrieve data like the file attributes or datetime fields that is already availableDateTimeField
values are set to UTC
timezones as FILETIME values are in UTCdatetime.datetime.utcfromtimestamp()
as it has been deprecatedsmbprotocol.connection.Connection.disconnect()
now waits (with a timeout) for the message processing threads to be stopped before returning.0xFFFFFFFF
for related compound requestsshutil.copyfile
is opened with share_access="r"
for better compatibility with files already opened by something elseFull Changelog: https://github.com/jborean93/smbprotocol/compare/v1.12.0...v1.13.0
Published by jborean93 12 months ago
DiskFull
error and message for the NTSTATUS code 0xC000007F
- https://github.com/jborean93/smbprotocol/pull/245
Full Changelog: https://github.com/jborean93/smbprotocol/compare/v1.11.0...v1.12.0
Published by jborean93 about 1 year ago
logging.NullHandler()
being set in the root smbprotocol
namespacesmbclient.shutil.copytree
Full Changelog: https://github.com/jborean93/smbprotocol/compare/v1.10.1...v1.11.0
Published by jborean93 almost 2 years ago
BadNetworkName
error if the server doesn't indicate it supports DFS or FSDriverRequired
was raised trying to lookup the DFS information - https://github.com/jborean93/smbprotocol/issues/196
Full Changelog: https://github.com/jborean93/smbprotocol/compare/v1.10.0...v1.10.1
Published by jborean93 almost 2 years ago
Full Changelog: https://github.com/jborean93/smbprotocol/compare/v1.9.0...v1.10.0
ObjectPathNotFound
if a DFS referral is required but not referrals are available (https://github.com/jborean93/smbprotocol/pull/149)SMB2_NETNAME_NEGOTIATE_CONTEXT_ID
with the negotiate requestindex_number
in FileInternalInformation
to be an unsigned integer to match the other structurescreate_action
to the Open
object that describes how the file was openedfollow_symlinks
option to SMBDirEntry.from_path
to control whether the entry is based on the path or the link target (if there is one)require_signing
kwarg to smbclient.register_session()
to allow the caller to control whether signing is required on the connection or notOverflowError
when handling FILETIME values beyond the year 9999 - caps the value to 9999-12-31
due to a Python limitationSTATUS_INVALID_PARAMETER
response for certain read/write lengthsPublished by jborean93 over 3 years ago
smbclient.rename
and smbclient.replace
smbclient.rename
to work with directoriessmbclient.scandir
will continue to use the connection cache when getting stat information of a dir entrysmbclient.shutil.rmtree
will continue to use the connection cache when removing child entriessmbprotocol.exceptions.SMBConnectionClosed
that is raised when trying to send or receive data on a connection that has been closedsmbprotocol.exceptions.WrongPassword
that is raised when some servers indicate the password is not correct or the account is locked outsmbclient
SMBConnectionClosed
ClientConfig
option require_secure_negotiate
to globally turn off secure negotiation if the client wishesntlm
or kerberos
authentication when the server response with the initial SPNEGO mech list token256
to 64
when creating the SMB session
smbclient
requires more credits to perform an operation it will request it automaticallywrite()
in smbclient.open_file()
to be able to write bytes greater than the max_write_size
PipeBusy
exception for STATUS_PIPE_NOT_AVAILABLE 0xC00000AD
error responseslen(responses) - 1
credits than what the server actually given causing errors when the client ran out of credits without it knowingauth_protocol
to Session
, ClientConfig
, and register_session()
to control what authentication protocol is used
negotiate
(default), kerberos
, or ntlm
where negotiate
selects kerberos
or ntlm
depending on what's availablesmbclient
functionsmbclient.ClientConfig()
to set global default options on new connectionssmbprotocol.header
null_terminated
option for a TextField
value