LARGE_WRITE_X smbclient, cifs and smbd

Jeremy Allison jra at samba.org
Fri Dec 17 16:51:36 GMT 2004


On Fri, Dec 17, 2004 at 10:46:28AM -0600, Steve French wrote:
> I pulled Samba 3 svn earlier this morning and still am only getting a 
> maximum SMB write size of 64K or less.    smbclient built from the same 
> current samba 3 source will also max sending writes of 64K (same with 
> reads).  I thought that smbclient had just been modified to allow up to 
> 128K.  

This should work - use smbclient -b 130048 to set the write block
size for writes. The max xmit parameter doesn't affect this as
it's beyond the size of any write. Look in the reply_write_and_X()
code in smbd/reply.c to see the conditions imposed on the write
(it needs to be the 14 word varient with 64 bit offset sizes).

I'm out all day so won't be able to respond further until later
this weekend.

Jeremy.


More information about the samba-technical mailing list