smb2 logoff

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



cifs client does not handle error code returned by smb2 session logoff.
What if the server returns access denied?
I looked in ms-smb2 but it does not say anything about how a client should
handle error by smb2 logoff response.
This happens when cifs client sends a smb2 logoff request without a
signature (because we remove the session from the list before
sending off a request and handling the response) and can't verify
signature in the response.
Also, not sure what happens at the server if the session logoff
request is a) unsigned and/or b) server returns error as a response.

I think the patch should be to remove the session from the list
after the smb2 logoff request is sent and response is handled.
Will submit a patch as part of changing per smb connection key
to per session key patchset resubmission.

Regards,

Shirish
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux