Partager via


2.2.4.66.2 Response

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


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

ByteCount

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

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

Error Codes

SMB error class

SMB error code

NT status code

POSIX equivalent

Description

ERRDOS

(0x01)

ERRbadfile

(0x0002)

STATUS_NO_SUCH_FILE

(0xC000000F)

ENOENT

The specified file does not exist.

ERRDOS

(0x01)

ERRbadpath

(0x0003)

STATUS_OBJECT_PATH_SYNTAX_BAD

(0xC000003B)

ENOENT

A component in the path prefix is not a directory or the pathname contained wildcard characters.

ERRDOS

(0x01)

ERRnoaccess

(0x0005)

STATUS_ACCESS_DENIED

(0xC0000022)

EPERM

The new file already exists.

ERRDOS

(0x01)

ERRnoaccess

(0x0005)

-

-

There are too many links to the old file.

ERRDOS

(0x01)

ERRnoaccess

(0x0005)

-

-

The directory is full.

ERRDOS

(0x01)

ERRnoaccess

(0x0005)

-

-

The old path is the last link to an executing program.

ERRDOS

(0x01)

ERRdiffdevice

(0x0011)

STATUS_NOT_SAME_DEVICE

(0xC00000D4)

EXDEV

The new path is on a different file system.

ERRSRV

(0x02)

ERRerror

(0x0001)

STATUS_INVALID_SMB

(0x00010002)

-

Invalid SMB. Request contains a packaging or value error.

ERRSRV

(0x02)

ERRaccess

(0x0004)

STATUS_NETWORK_ACCESS_DENIED

(0xC00000CA)

EACCES

Access denied. The given UID does not have permission to execute the requested command within the current context (TID).

ERRSRV

(0x02)

ERRinvtid

(0x0005)

STATUS_SMB_BAD_TID

(0x00050002)

-

The TID specified in the command was invalid.

ERRSRV

(0x02)

ERRnomem

(0x0008)

STATUS_INSUFF_SERVER_RESOURCES

(0xC0000205)

ENOMEM

The server is out of resources.

ERRSRV

(0x02)

ERRbaduid)

(0x005B)

STATUS_SMB_BAD_UID

(0x005B0002)

-

The UID given is not known as a valid ID on this server session.

ERRHRD

(0x03)

ERRnowrite

(0x0013)

STATUS_MEDIA_WRITE_PROTECTED

(0x0C00000A2)

EROFS

Attempt to modify a read-only file system.