WordCount Words ... ... WordCount (1 byte): The value of this field MUST be 0x04. (8 bytes): 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 AndXCommand AndXReserved AndXOffset Action SecurityBlobLength Action (2 bytes): A 16-bit field. The two lowest-order bits have been defined. Name and bitmask Meaning SMB_SETUP_GUEST If clear (0), then the user successfully authenticated and is logged in. 0x0001 If set (1), then authentication failed but the server has granted guest access; the user is logged in as a Guest. SMB_SETUP_USE_LANMAN_KEY This bit is not used with extended security and MUST be clear. 0x0002 The server's response does not specify whether the access granted is of type Anonymous. However, the security system can provide that information once authorization completes. This value MUST specify the length, in bytes, of the SecurityBlobLength (2 SecurityBlob that is contained within the response. SMB_Data (variable): 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 ByteCount Bytes (variable) ... ByteCount (2 bytes): If SMB_FLAGS2_UNICODE is set in the SMB_Header.Flags2 field, then this field MUST be greater than or equal to 0x0006. If SMB_FLAGS2_UNICODE is not set, then this field MUST be greater than or equal to 0x0003. Bytes (variable): 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 SecurityBlob (variable)
WordCount Words ... ... WordCount (1 byte): The value of this field MUST be 0x04. (8 bytes): 0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1 AndXCommand AndXReserved AndXOffset Action SecurityBlobLength Action (2 bytes): A 16-bit field. The two lowest-order bits have been defined. Name and bitmask Meaning SMB_SETUP_GUEST 0x0001 If clear (0), then the user successfully authenticated and is logged in. If set (1), then authentication failed but the server has granted guest access; the user is logged in as a Guest. SMB_SETUP_USE_LANMAN_KEY 0x0002 This bit is not used with extended security and MUST be clear. The server's response does not specify whether the access granted is of type Anonymous. However, the security system can provide that information once authorization completes. SecurityBlobLength (2 This value MUST specify the length, in bytes, of the SecurityBlob that is contained within the response. SMB_Data (variable): 0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1 ByteCount Bytes (variable) ... ByteCount (2 bytes): If SMB_FLAGS2_UNICODE is set in the SMB_Header.Flags2 field, then this field MUST be greater than or equal to 0x0006. If SMB_FLAGS2_UNICODE is not set, then this field MUST be greater than or equal to 0x0003. Bytes (variable): 0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1 SecurityBlob (variable)