Compartir a través de


2.2.4.1.1 Request

 SMB_Parameters
   {
   UCHAR WordCount;
   }
 SMB_Data
   {
   USHORT ByteCount;
   Bytes
     {
     UCHAR      BufferFormat;
     SMB_STRING DirectoryName;
     }
   }
            

SMB_Header:

TID (2 bytes): A valid TID MUST be provided. The TID represents the root of the directory tree in which the new directory is created.

UID (2 bytes): A valid UID MUST be provided. At minimum, the user MUST have create permission for the subtree that is to contain the new directory. The creator's access rights to the new directory are determined by local policy on the server.

SMB_Parameters:

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

SMB_Data:

ByteCount (2 bytes): This field MUST be greater than or equal to 0x0002.

Bytes (variable): The message-specific data structure as follows:


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

DirectoryName (variable)

...

BufferFormat (1 byte): This field MUST be 0x04.

DirectoryName (variable): A null-terminated string giving the full pathname, relative to the supplied TID, of the directory to be created.