Compartilhar via


2.2.4.52.1 Request

 SMB_Parameters
   {
   UCHAR  WordCount;
   }
 SMB_Data
   {
   USHORT ByteCount;
   Bytes
     {
     UCHAR Dialects[];
     }
   }

SMB_Header

CID (2 bytes): If the transport is connectionless (for example, Direct IPX Transport), then this field MUST be 0x0000.

TID (2 bytes): The TID is uninitialized at this point and MUST be ignored by the server.<75>

UID (2 bytes):  The UID is uninitialized at this point and MUST be ignored by the server.<76>


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

SMB_Parameters

SMB_Data (variable)

...

SMB_Parameters (1 byte):


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

WordCount (1 byte): This field MUST be 0x00. No parameters are sent by this message.

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): This field MUST be greater than or equal to 0x0002.

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

Dialects (variable)

...

Dialects (variable): This is a variable length list of dialect identifiers in order of preference from least to most preferred. The client MUST list only dialects that it supports. The structure of the list entries is as follows:

 SMB_Dialect
   {
   UCHAR      BufferFormat;
   OEM_STRING DialectString;
   }


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

BufferFormat

DialectString (variable)

...

BufferFormat (1 byte): This field MUST be 0x02. This is a buffer format indicator that identifies the next field as a null-terminated array of characters.

DialectString (variable): A null-terminated string identifying an SMB dialect. A list of common dialects is presented in section 1.7.