2.2.6.9.2 Response
The response information indicates if there was a problem with the list of extended attributes supplied when the InformationLevel field is SMB_INFO_SET_EAS. The outcome of the request is included in the SMB Header (section 2.2.3.1).
Trans2_Parameters:
-
Trans2_Parameters { USHORT EaErrorOffset; }
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Trans2_Parameters |
|||||||||||||||||||||||||||||||
Trans2_Parameters (2 bytes):
-
0
1
2
3
4
5
6
7
8
91
0
1
2
3
4
5
6
7
8
92
0
1
2
3
4
5
6
7
8
93
0
1EaErrorOffset
-
EaErrorOffset (2 bytes): This field contains the offset, in bytes, into the ExtendedAttributeList that identifies the attribute that caused an error. This field is meaningful only when the request's Trans2_Parameters.InformationLevel is set to SMB_INFO_SET_EAS.
Trans2_Data:
No data is sent by this message.
Error Codes
|
SMB error class |
SMB error code |
NT status code |
POSIX equivalent |
Description |
|---|---|---|---|---|
|
ERRDOS (0x01) |
ERRnoaccess (0x0005) |
STATUS_ACCESS_DENIED (0xC0000022) |
EPERM |
Access denied. |
|
ERRDOS (0x01) |
ERRbadfid (0x0006) |
STATUS_INVALID_HANDLE (0xC0000008) |
ENOENT |
The FID supplied is invalid. |
|
ERRDOS (0x01) |
ERRnomem (0x0008) |
STATUS_INSUFF_SERVER_RESOURCES (0xC0000205) |
ENOMEM |
The server is out of resources. |
|
ERRDOS (0x01) |
ERRgeneral (0x001F) |
STATUS_UNSUCCESSFUL (0xC0000001) |
|
The size of the extended attribute list is not correct. Check the EaErrorOffset field for the address of the SMB_FEA structure at which the error was detected. |
|
ERRDOS (0x01) |
ERRinvalidparam (0x0057) |
STATUS_INVALID_PARAMETER (0xC000000D) |
|
One of the extended attributes had an invalid Flag bit value. |
|
ERRDOS (0x01) |
ERRunknownlevel (0x007C) |
STATUS_OS2_INVALID_LEVEL (0x007C0001) |
|
The InformationLevel supplied is invalid or the DataCount failed validation for the requested InformationLevel because not enough information was supplied by the client. |
|
ERRDOS (0x01) |
ERRbadealist (0x00FF) |
STATUS_OS2_EA_LIST_INCONSISTENT (0x00FF0001) STATUS_EA_LIST_INCONSISTENT (0x80000014) |
|
Inconsistent extended attribute list. |
|
ERRSRV (0x02) |
ERRerror (0x0001) |
STATUS_INVALID_SMB (0x00010002) |
|
Invalid SMB. Not enough parameter bytes were sent. |
|
ERRSRV (0x02) |
ERRinvtid (0x0005) |
STATUS_INVALID_HANDLE (0xC0000008) STATUS_SMB_BAD_TID (0x00050002) |
|
The TID is no longer valid. |
|
ERRSRV (0x02) |
ERRbaduid (0x005B) |
STATUS_INVALID_HANDLE (0xC0000008) STATUS_SMB_BAD_UID (0x005B0002) |
|
The UID supplied is not defined to the session. |
|
ERRHRD (0x03) |
ERRnowrite (0x0013) |
STATUS_MEDIA_WRITE_PROTECTED (0xC00000A2) |
|
The FID supplied is on write- protected media. |
|
ERRHRD (0x03) |
ERRdata (0x0017) |
STATUS_DATA_ERROR (0xC000003E) |
EIO |
Disk I/O error. |