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

Uri Simchoni uri at samba.org
Fri Sep 16 19:49:36 UTC 2016


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: quota-list.pcap
Type: application/vnd.tcpdump.pcap
Size: 7378 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/cifs-protocol/attachments/20160916/e2bfe318/quota-list.pcap>


More information about the cifs-protocol mailing list