[cifs-protocol] [REG:116091614680032] [MS-SMB] - status code of NT_TRANS_QUERY_QUOTA
Bryan Burgin
bburgin at microsoft.com
Fri Sep 16 19:53:53 UTC 2016
Thx. I was reviewing ZwQueryQuotaInformationFile(), which this call relies on, and surmised that STATUS_BUFFER_TOO_SMALL is returned only if a buffer was supplied that was too small for a single entry. Thanks for confirming. I'll review the rest and file a report against [MS-SMB].
Bryan
-----Original Message-----
From: Uri Simchoni [mailto:uri at samba.org]
Sent: Friday, September 16, 2016 12:50 PM
To: Bryan Burgin <bburgin at microsoft.com>
Cc: cifs-protocol at lists.samba.org; MSSolve Case Email <casemail at microsoft.com>
Subject: Re: [REG:116091614680032] [MS-SMB] - status code of NT_TRANS_QUERY_QUOTA
On 09/16/2016 07:23 PM, Bryan Burgin wrote:
> [Josh to bcc]
>
> Hi Uri,
>
> I can review this for you. Is your observation that we never return STATUS_BUFFER_TOO_SMALL? It's either STATUS_SUCCESS or STATUS_NO_MORE_ENTRIES? Do you have traces?
>
> Bryan
>
>
I've seen STATUS_BUFFER_TOO_SMALL only if MaxDataCount is not enough for a single quota record. Otherwise it's a series of OK's that end with a STATUS_NO_MORE_ENTRIES. BTW, this is the documented [MS-SMB2] behavior.
Attached pls find a packet trace. MaxDataCount has been purposefully made small here to show a series of requests.
Thanks,
Uri.
More information about the cifs-protocol
mailing list