[cifs-protocol] [REG:116091614680032] [MS-SMB] - status code of NT_TRANS_QUERY_QUOTA

Bryan Burgin bburgin at microsoft.com
Fri Sep 16 16:23:24 UTC 2016


[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


-----Original Message-----
From: Josh Curry 
Sent: Friday, September 16, 2016 9:10 AM
To: Uri Simchoni <uri at samba.org>
Cc: cifs-protocol at lists.samba.org; MSSolve Case Email <casemail at microsoft.com>
Subject: RE: [MS-SMB] - status code of NT_TRANS_QUERY_QUOTA [REG:116091614680032]

Hi Uri, thank you for your question. Case 116091614680032 has been created to track your issue. A member of the protocol documentation team will be in touch with you soon.

Josh Curry | Escalation Engineer | Open Specifications Support Team P +1 469 775 2321 One Microsoft Way, 98052, Redmond, WA, USA http://support.microsoft.com


-----Original Message-----
From: Uri Simchoni [mailto:uri at samba.org]
Sent: Friday, September 16, 2016 3:39 AM
To: Interoperability Documentation Help <dochelp at microsoft.com>
Cc: cifs-protocol at lists.samba.org
Subject: [MS-SMB] - status code of NT_TRANS_QUERY_QUOTA

Hi,

In [MS-SMB], section 3.3.5.11.2 "Receiving an NT_TRANS_QUERY_QUOTA Request", it is indicated that:

If the entire quota information cannot fit in the response buffer, then the server MUST return a status of STATUS_BUFFER_TOO_SMALL. Otherwise, the server MUST return STATUS_SUCCESS.

In practice (trying against Server 2012R2) I see that the server returns STATUS_SUCCESS as long as it has more entries, and STATUS_NO_MORE_ENTRIES when there are no more entries.

Can you please clarify?

Thanks,
Uri.



More information about the cifs-protocol mailing list