2.2.7.6.2 Server Response
An SMB_COM_NT_TRANSACT (section 2.2.4.8) response for the NT_TRANSACT_SET_QUOTA subcommand MUST be sent by a server in reply to a client NT_TRANSACT_SET_QUOTA request when the request is successful.
The NT_TRANSACT_SET_QUOTA response is a special case of the SMB_COM_NT_TRANSACT command response. Only the NT_TRANSACT_SET_QUOTA specifics are described here.
NT_Trans_Parameters
No NT Trans parameters are returned in this response.
NT_Trans_Data
No NT Trans data is returned in this response.
Error Codes
SMB error class |
SMB error code |
NT status code |
POSIX equivalent |
Description |
---|---|---|---|---|
ERRDOS |
ERRbadfunc |
STATUS_INVALID_DEVICE_REQUEST |
|
Quotas are not enabled on the volume. |
ERRDOS |
ERRbadfid |
STATUS_INVALID_HANDLE |
EBADF |
The Fid is invalid. |
ERRDOS |
ERRnoaccess |
STATUS_ACCESS_DENIED |
EPERM |
Access denied. |
ERRDOS |
ERRinvalidparam |
STATUS_INVALID_PARAMETER |
|
A parameter is invalid. |
ERRSRV |
ERRerror |
STATUS_INVALID_SMB |
|
Invalid SMB. Byte count and sizes are inconsistent. |
ERRSRV |
ERRinvtid |
STATUS_BAD_TID |
|
The TID is no longer valid. |
ERRSRV |
ERRnomem |
STATUS_INSUFF_SERVER_RESOURCES |
ENOMEM |
The server is out of resources. |
ERRSRV |
ERRbaduid |
STATUS_BAD_UID |
|
The UID supplied is not known to the session. |
ERRSRV |
|
STATUS_QUOTA_LIST_INCONSISTENT |
|
The Sid parameter in FILE_QUOTA_INFORMATION did not contain a valid SID. |
ERRHRD |
ERRdata |
STATUS_DATA_ERROR |
EIO |
Disk I/O error. |
ERRHRD |
ERRnowrite |
STATUS_MEDIA_WRITE_PROTECTED |
EROFS |
Attempt to modify a read-only file system. |