Remove restrictions on setting iosize inside smbclient for SMB2 connections.
authorJeremy Allison <jra@samba.org>
Fri, 16 Aug 2013 18:45:43 +0000 (11:45 -0700)
committerMichael Adam <obnox@samba.org>
Wed, 21 Aug 2013 15:28:54 +0000 (17:28 +0200)
commit25521c90859de0651216c459273b2ffd916ee299
treeaf5a0c4ce91c733d410b8bff76b43f903f2caba2
parent6e82f70da089964994fcb179c40bdc8275be2da9
Remove restrictions on setting iosize inside smbclient for SMB2 connections.

Also remove the SMB1 restriction to minimum iosize of 16384 (0x4000):
Now values >= 0 and <= 0xFFFF00 can be set for SMB1, 0 meaning server
defined behaviour. 0 is the new default for iosize, both for SMB1 and SMB2.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/client/client.c