diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-12-13 23:57:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:23 -0500 |
commit | 275df9a5c3b1ade9f2467870c3628a2a896c004c (patch) | |
tree | 3138be780e96a2156d03aa602cf54f09be196c22 /source4/libcli/raw | |
parent | 6ed5055d8e70e5889d8015783bad401d1bfa9c02 (diff) | |
download | samba-275df9a5c3b1ade9f2467870c3628a2a896c004c.tar.gz samba-275df9a5c3b1ade9f2467870c3628a2a896c004c.tar.bz2 samba-275df9a5c3b1ade9f2467870c3628a2a896c004c.zip |
r4182: fixed trans2 mkdir, allowing mkdir with an initial EA list
(This used to be commit 7d981c29c28391813c7f93245f64b3ee108378a4)
Diffstat (limited to 'source4/libcli/raw')
-rw-r--r-- | source4/libcli/raw/rawfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/raw/rawfile.c b/source4/libcli/raw/rawfile.c index bfd96bd360..4a11fd3834 100644 --- a/source4/libcli/raw/rawfile.c +++ b/source4/libcli/raw/rawfile.c @@ -122,7 +122,7 @@ static struct smbcli_request *smb_raw_t2mkdir_send(struct smbcli_tree *tree, data_total = ea_list_size(parms->t2mkdir.in.num_eas, parms->t2mkdir.in.eas); - t2.in.max_param = 0; + t2.in.max_param = 2; t2.in.max_data = 0; t2.in.max_setup = 0; t2.in.flags = 0; @@ -135,7 +135,7 @@ static struct smbcli_request *smb_raw_t2mkdir_send(struct smbcli_tree *tree, SIVAL(t2.in.params.data, VWV(0), 0); /* reserved */ smbcli_blob_append_string(tree->session, mem_ctx, - &t2.in.params, parms->t2mkdir.in.path, 0); + &t2.in.params, parms->t2mkdir.in.path, STR_TERMINATE); ea_put_list(t2.in.data.data, parms->t2mkdir.in.num_eas, parms->t2mkdir.in.eas); |