-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Exception: STATUS_NOT_SUPPORTED: 0xc00000bb #72
Comments
When we receive the tree connection response from the server we are meant to validate the negotiated connection dialects to ensure the server didn't downgrade as per https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-smb2/5b80eb31-7e0a-4f24-b570-15217d28f239
The error you are seeing is the server responding with Currently we skip this validation if the negotiated dialect is not In saying all that it doesn't help your problem where the server doesn't seem to support this type of message. If you are using the low level API you can specify I'm curious, what is the server you are connecting to, is it Samba, if so what version? |
I don't know actually, it is company's one. Windows have no problem to connect to it but almost any 3'd party client/library has (including linux smb client) the exception regarding STATUS_NOT_SUPPORTED. |
Thanks for the info, I believe #73 should solve your problem. It will ignore
This will ignore the current |
Version 1.4.0 has been released on PyPI which includes this fix https://pypi.org/project/smbprotocol/1.4.0/. |
What can be the reason?
If I set dialect (2.0.2 or 2.1.0) in the connection, open session and connect a tree
tree.connect()
it works
without setting dialect it throws the same exception both in low-level and high-level APIs:
The text was updated successfully, but these errors were encountered: