s3:libsmb/cli*: use CLI_BUFFER_SIZE instead of cli->max_xmit
authorStefan Metzmacher <metze@samba.org>
Tue, 2 Aug 2011 21:05:31 +0000 (23:05 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 9 Aug 2011 13:30:04 +0000 (15:30 +0200)
commit133286ce0bd920058f3d401eb2159abb8d6a2bb7
treeef866b2baadba9eef827d97ec58e9456d44beb4a
parent70c2bbecde434264e0b54279f13159e9991efade
s3:libsmb/cli*: use CLI_BUFFER_SIZE instead of cli->max_xmit

The max_data parameter of trans2/nttrans calls are not bound
to cli->max_xmit. Even with cli->max_xmit, which means the max
size of the whole SMB pdu, we would get fragmented trans2/nttrans
replies. That's why we can also use our maximum, which is CLI_BUFFER_SIZE.

metze
source3/libsmb/clidfs.c
source3/libsmb/clifile.c
source3/libsmb/clilist.c
source3/libsmb/clirap.c