smbclient

Jeremy Allison jra at samba.org
Wed May 16 17:33:15 GMT 2007


On Wed, May 16, 2007 at 11:54:16AM -0500, Steve French wrote:
> Which brings up the obvious question - does smbclient in SAMBA_3_0_26
> have a way to request > 64K reads now that the server would support
> it?  I was trying that just before adding the code to Linux cifs
> client
> 
> My tests show it requesting 0xFC00 (current Samba smbd and smbclient
> from 3.0.26 svn)

I have a "hack" that makes it do it. It's how I tested it worked :-).

Change the line :

static int io_bufsize = 64512;

in client/client.c to something like :

static int io_bufsize = 0xFFFF00;

and then on the command line type :

posix 

then :

get bigfile

It'll use 0xFFFF00 sized reads then.

Jeremy.


More information about the samba-technical mailing list