[cifs-protocol] SMB_COM_WRITE

George Colley gcolley at apple.com
Thu Aug 17 15:59:57 GMT 2006

This is still a valid call. Doing a SMB_COM_WRITE call with 0 bytes  
is the only way pre-NT systems had to set the eof. It is not just a  
truncate call. Some clients use it to make sure the space is  
allocated before they write. So anything before Windows Me will still  
use this call that includes Windows 98.

Now most clients will check to see if the CAP_NT_SMBS  is set before  
deciding if to make the new or old call. Some clients may not. As a  
server you need to be able to support either call.

On Aug 17, 2006, at 7:05 AM, Joseph Kuan wrote:

> George Colley wrote:
>> Yes and is used by Windows 98.
> Just out of interest, these packets occur under what scenario in  
> windows?
> Joe
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> This footnote also confirms that this email message has been swept  
> for the presence of viruses using SOPHOS.
> http://www.itheon.com
> **********************************************************************

More information about the cifs-protocol mailing list