[cifs-protocol] [Pfif] SMB1 Trans2SetPathInfo() FileEndOfFileInformation is not enforcing share modes

Bill Wesse billwe at microsoft.com
Wed Dec 2 03:52:29 MST 2009

Thanks - I have smbtorture up & working in an Ubuntu VM, so I should be able to test today.

Bill Wesse
MCSE, MCTS / Senior Escalation Engineer, US-CSS DSC PROTOCOL TEAM
8055 Microsoft Way
Charlotte, NC 28273
TEL:  +1(980) 776-8200
CELL: +1(704) 661-5438
FAX:  +1(704) 665-9606

-----Original Message-----
From: Tim Prouty [mailto:tim.prouty at isilon.com] 
Sent: Tuesday, December 01, 2009 7:40 PM
To: Bill Wesse
Cc: pfif at tridgell.net; cifs-protocol at samba.org
Subject: Re: [Pfif] SMB1 Trans2SetPathInfo() FileEndOfFileInformation is not enforcing share modes

On Dec 1, 2009, at 11:12 AM, Bill Wesse wrote:

>> 1. Packet 40 appears to have the WordCount and ByteCount truncated,
>>  making the packet smaller than normal minimum size of 35?  Is this
>>  intended behavior that other servers should implement?
> This is a surprise - I have never seen an SMB error packet without  
> WordCount and ByteCount.
> I will take this into account once I get my test code running -  
> which will be necessary to reproduce the missing WordCount /  
> ByteCount (this looks like a bug to me, but I will have to dig  
> deeper).

Bill, if it helps your repro I recently pushed an smbtorture test that  
demonstrates all of the issues mentioned in this thread: RAW-SFILEINFO- 
END-OF-FILE.  This is what I have been using to produce these traces.


More information about the cifs-protocol mailing list