LOGOFF_ANDX: User Logoff

This SMB is the inverse of SMB_COM_SESSION_SETUP_ANDX.

Client Request
==================================
Description
=================================
UCHAR WordCount; Count of parameter words = 2
UCHAR AndXCommand; Secondary (X) command; 0xFF = none
UCHAR AndXReserved; Reserved (must be 0)
USHORT AndXOffset; Offset to next command WordCount
USHORT ByteCount; Count of data bytes = 0

Server Response
==================================
Description
=================================
UCHAR WordCount; Count of parameter words = 2
UCHAR AndXCommand; Secondary (X) command; 0xFF = none
UCHAR AndXReserved; Reserved (must be 0)
USHORT AndXOffset; Offset to next command WordCount
USHORT ByteCount; Count of data bytes = 0

The user represented by uid in the SMB header is logged off. The server closes all files currently open by this user, and invalidates any outstanding requests with this uid.

SMB_COM_SESSION_SETUP_ANDX is the only valid AndXCommand. for this SMB.    

Errors

ERRSRV/invnid    - TID was invalid

ERRSRV/baduid    - UID was invalid