다음을 통해 공유


2.2.4.65.1 Request

 SMB_Parameters
   {
   UCHAR WordCount;
   }
 SMB_Data
   {
   USHORT ByteCount;
   }
            

SMB_Header:

CID (2 bytes): If the transport is connectionless, this field MUST contain the CID of the connection.

TID (2 bytes): This field MUST contain the TID of the pending request(s) to be canceled.

UID (2 bytes): This field MUST contain the UID of the pending request(s) to be canceled.

MID (2 bytes): This field MUST contain the MID of the pending request(s) to be canceled.

PID (4 bytes): This field MUST contain the PID of the pending request(s) to be canceled. The PID is calculated by combining the PIDHigh and PIDLow values as described in section 2.2.3.1.


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

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 request.

SMB_Data (2 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

ByteCount

ByteCount (2 bytes): This field MUST be 0x0000. No data is sent by this request.

Error Codes

SMB error class

SMB error code

NT status code

POSIX equivalent

Description

ERRSRV

(0x02)

ERRerror

(0x0001)

STATUS_INVALID_SMB

(0x00010002)

Invalid SMB. Not enough parameter bytes were sent.

ERRSRV

(0x02)

ERRinvtid

(0x0005)

STATUS_SMB_BAD_TID

(0x00050002)

The TID is no longer valid.

ERRSRV

(0x02)

ERRbaduid

(0x005B)

STATUS_SMB_BAD_UID

(0x005B0002)

The UID supplied is not known to the session.