8/29/2008 9.0 Major Updated and revised the technical content. 10/24/2008 10.0 Major Updated and revised the technical content. 12/5/2008 11.0 Major Updated and revised the technical content. 1/16/2009 12.0 Major Updated and revised the technical content. 2/27/2009 13.0 Updated and revised the technical content. 4/10/2009 14.0 Updated and revised the technical content. 5/22/2009 15.0 Updated and revised the technical content. 7/2/2009 16.0 Major Updated and revised the technical content. 8/14/2009 17.0 Updated and revised the technical content. 9/25/2009 18.0 Updated and revised the technical content. 11/6/2009 19.0 Updated and revised the technical content. 12/18/2009 20.0 Major Updated and revised the technical content. 1/29/2010 21.0 Major Updated and revised the
9/23/2011 34.0 Updated and revised the technical content. 12/16/2011 35.0 Major Updated and revised the technical content. 3/30/2012 36.0 Major Updated and revised the technical content. 7/12/2012 37.0 Major Updated and revised the technical content. 10/25/2012 38.0 Major Updated and revised the technical content. 1/31/2013 39.0 Major Updated and revised the technical content. 8/8/2013 40.0 Major Updated and revised the technical content. 11/14/2013 41.0 Major Updated and revised the technical content. 2/13/2014 42.0 Major Updated and revised the technical content. 5/15/2014 43.0 Major Updated and revised the technical content. 6/30/2015 44.0 Major Significantly changed the technical content. 10/16/2015 44.0 None No changes to the meaning, language, or formatting of the technical content.
SMB_Parameters (35 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 WordCount Words (34 bytes) ... ... ... Words (34 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 DialectIndex SecurityMode MaxMpxCount ... MaxNumberVcs MaxBufferSize ... MaxRawSize ... SessionKey ... Capabilities ... SystemTime ... ... ServerTimeZone ... ChallengeLength MaxBufferSize (4 bytes): Maximum size, in bytes, of the server buffer for receiving s. This value accounts for the size of the largest SMB message that the client can send to the server, measured from the start of the header to the end of the packet. This value does not account for any underlying transport-layer packet headers, and thus does not account for the size of the complete network packet.<28> The only cases in which this maximum buffer size MUST be exceeded are: When the SMB_COM_WRITE_ANDX command is used and the client and server both support the CAP_LARGE_WRITEX capability (see the Capabilities field for more information). When the SMB_COM_WRITE_RAW command is used and both the client and server support the CAP_RAW_MODE capability. Capabilities (4 A 32-bit field providing a set of server capability indicators. This bit field is used to indicate to the client which features are supported by the server. Any value not listed in the following table is unused. The server MUST set the unused bits to zero. The client MUST ignore these bits.
... SessionKey ... Capabilities ... SystemTime ... ... ServerTimeZone ... ChallengeLength MaxBufferSize (4 bytes): Maximum size, in bytes, of the server buffer for receiving s. This value indicates the size of the largest SMB message that the server is capable of receiving from the client, measured from the start of the header to the end of the packet. This value does not account for any underlying transport-layer packet headers and thus does not account for the size of the complete network packet.<41> The only exceptions in which this maximum buffer size can be exceeded are: When the SMB_COM_WRITE_ANDX command is used and both the client and server support the CAP_LARGE_WRITEX capability (see the Capabilities field for more information). When the SMB_COM_READ_ANDX command is used and both the client and server support the CAP_LARGE_READX capability (see the Capabilities field for more information). When the SMB_COM_WRITE_RAW command is used and both the client and server support the CAP_RAW_MODE capability. Capabilities (4 bytes): A 32-bit field providing a set of server capability indicators. This bit field is used to indicate to the client which features are supported by the server. Any value not listed in the following table is unused. The server MUST set the unused bits to zero in a response and the client MUST ignore these bits. are several new capability bits: CAP_COMPRESSED_DATA CAP_DYNAMIC_REAUTH CAP_EXTENDED_SECURITY CAP_INFOLEVEL_PASSTHRU CAP_LARGE_WRITEX CAP_LWIO CAP_UNIX Any value not listed in the following table SHOULD be unused. A server SHOULD set the unused bits to zero in a response and a client MUST ignore these bits. The table of server capabilities is provided in the previous section.
Reserved (4 bytes): A reserved field. This field SHOULD be set to zero when sending the request. This field MUST be ignored by the server when the message is received. CopychunkList (variable): A concatenated list of copychunks. Each is formatted as a SRV_COPYCHUNK structure. SRV_COPYCHUNK SRV_COPYCHUNK { LARGE_INTEGER SourceOffset; LARGE_INTEGER DestinationOffset; ULONG CopyLength; ULONG Reserved; } 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 SourceOffset ... DestinationOffset ... CopyLength Reserved SourceOffset (8 bytes): The offset, in bytes, into the source file from which data is being copied. DestinationOffset (8 bytes): The offset, in bytes, into the destination file to which data is being copied. CopyLength (4 bytes): The number of bytes to copy from the source file to the destination file. Reserved (4 This field SHOULD<67> be set to zero by the client and MUST be ignored upon receipt by the server. Server Response Extensions An response for an NT_TRANSACT_IOCTL ( section 2.2.7.2) subcommand MUST be sent by a server in to a successful NT_TRANSACT_IOCTL request. The NT_TRANSACT_IOCTL response is a special case of the SMB_COM_NT_TRANSACT command response. Only the NT_TRANSACT_IOCTL specifics are described here. FSCTL_SRV_ENUMERATE_SNAPSHOTS Response The FSCTL_SRV_ENUMERATE_SNAPSHOTS response format is a special case of the NT_TRANSACT_IOCTL subcommand. Only the FSCTL_SRV_ENUMERATE_SNAPSHOTS response specifics are described here. SMB_Parameters
_ 73 3 31 A Abstract data model client ( 97, 98) server ( 97, 117) Algorithms 26 26 26 18 C 19 178 Client abstract data model ( 97, 98) higher-layer triggered events ( 97, 100) initialization ( 97, 100) local events ( 98, 117) message processing ( 98, 112) 117 sequencing ( 98, 112) events ( 98, 117) timers ( 97, 99) Client details ( 97, 98) 26 D Data - abstract client ( 97, 98) server ( 97, 117) 21 28 E 135 23 F 26 19 24 26 82 80 81 G 9 H Higher-layer triggered events client ( 97, 100) server ( 97, 119) I 158 158 90 15 Initialization client ( 97, 100) server ( 97, 119) 9 L Local events client ( 98, 117) server ( 98, 134) M Message processing client ( 98, 112) server ( 98, 121) Messages 90 21 21 N 14 71 30 76 76 30 84 86 30 88 O Other local events 117 134 16 P 158 18 18 159