The Samba-Bugzilla – Bug 13197
SMB2 close/lock/logoff can generate NT_STATUS_NETWORK_SESSION_EXPIRED
Last modified: 2017-12-20 15:36:09 UTC
[MS-SMB2] 188.8.131.52.9 Verifying the Session
If a session is found and Session.State is Expired, the server MUST continue to process the SMB2 LOGOFF, SMB2 CLOSE, and SMB2 LOCK commands. If the command is not one of these, the server SHOULD fail the request with STATUS_NETWORK_SESSION_EXPIRED.