1.3.0 - 2021-01-23
- Changed initial credit request from
256
to64
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()
insmbclient.open_file()
to be able to write bytes greater than themax_write_size
- Fixed issue when receiving an unknown NtStatus error code from the server
- Added
PipeBusy
exception forSTATUS_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
- Original logic granted
- Added
auth_protocol
toSession
,ClientConfig
, andregister_session()
to control what authentication protocol is used- This can be
negotiate
(default),kerberos
, orntlm
wherenegotiate
selectskerberos
orntlm
depending on what's available
- This can be