diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-12-21 11:47:08 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:33 -0500 |
commit | 101d0333a333cee6d3fc33cb4655976145fb87e8 (patch) | |
tree | f29d0de9073613894ec37d7fed1a99abf82110fa /source4/libcli/raw/rawfileinfo.c | |
parent | fa4271fb39d593fd4516e8ee32234299ffd31967 (diff) | |
download | samba-101d0333a333cee6d3fc33cb4655976145fb87e8.tar.gz samba-101d0333a333cee6d3fc33cb4655976145fb87e8.tar.bz2 samba-101d0333a333cee6d3fc33cb4655976145fb87e8.zip |
r4316: - now that the trans2 code properly supports multi-part requests, we can set
a maximum sized max_data in libcli trans2 code
- fixed string termination in the EA_LIST trans2 findfirst level
(This used to be commit a2a5f147f4faac8a48ff8f1b3e5f1334c92575bb)
Diffstat (limited to 'source4/libcli/raw/rawfileinfo.c')
-rw-r--r-- | source4/libcli/raw/rawfileinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/raw/rawfileinfo.c b/source4/libcli/raw/rawfileinfo.c index ad7b9b900a..3befb8ee4d 100644 --- a/source4/libcli/raw/rawfileinfo.c +++ b/source4/libcli/raw/rawfileinfo.c @@ -301,7 +301,7 @@ static struct smbcli_request *smb_raw_fileinfo_blob_send(struct smbcli_tree *tre tp.in.setup_count = 1; tp.in.data = data; tp.in.max_param = 2; - tp.in.max_data = smb_raw_max_trans_data(tree, 2); + tp.in.max_data = 0xFFFF; tp.in.setup = &setup; tp.in.params = data_blob_talloc(mem_ctx, NULL, 4); @@ -355,7 +355,7 @@ static struct smbcli_request *smb_raw_pathinfo_blob_send(struct smbcli_tree *tre tp.in.setup_count = 1; tp.in.data = data; tp.in.max_param = 2; - tp.in.max_data = smb_raw_max_trans_data(tree, 2); + tp.in.max_data = 0xFFFF; tp.in.setup = &setup; tp.in.params = data_blob_talloc(mem_ctx, NULL, 6); |