jborean93 / smbprotocol

Python SMBv2 and v3 Client
MIT License
316 stars 73 forks source link

Do we have support for handling server messages #209

Open kirthi2468 opened 1 year ago

kirthi2468 commented 1 year ago

Do we have support for handling server messages like SMB2_OPLOCK_BREAK Notification ?

If I get a Oplock break notification while performing a read/write to the file then the script fails.

jborean93 commented 1 year ago

Currently no because I was only aware that the break notification would occur if you are opening a file with oplocks which the higher level API does not do. Are you using the lower level API (smbprotocol) directly or is something else happening?