diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-05-23 00:07:12 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-05-23 00:07:12 +1000 |
commit | ec7a6ee8ab25f4550a68b286d9eba32b955a73a1 (patch) | |
tree | dba67687708bbb9f13d171df9193b28adf796429 /source4/libcli/smb2 | |
parent | 8fc9c71a06c49bd449b754405e0c937681f07f50 (diff) | |
download | samba-ec7a6ee8ab25f4550a68b286d9eba32b955a73a1.tar.gz samba-ec7a6ee8ab25f4550a68b286d9eba32b955a73a1.tar.bz2 samba-ec7a6ee8ab25f4550a68b286d9eba32b955a73a1.zip |
fix make test for EAs again
- go back to 4 byte alignment until I work out the rules that Vista
wants more exactly
- add the zero sized EA handling for SMB2 more generically
(This used to be commit 326b69bc8064cbea357864cecd6bd27b50c57184)
Diffstat (limited to 'source4/libcli/smb2')
-rw-r--r-- | source4/libcli/smb2/create.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/smb2/create.c b/source4/libcli/smb2/create.c index 9d28bbf8c4..b1b8b0ccfa 100644 --- a/source4/libcli/smb2/create.c +++ b/source4/libcli/smb2/create.c @@ -117,8 +117,8 @@ struct smb2_request *smb2_create_send(struct smb2_tree *tree, struct smb2_create if (io->in.eas.num_eas != 0) { DATA_BLOB b = data_blob_talloc(req, NULL, - ea_list_size_chained(io->in.eas.num_eas, io->in.eas.eas, 8)); - ea_put_list_chained(b.data, io->in.eas.num_eas, io->in.eas.eas, 8); + ea_list_size_chained(io->in.eas.num_eas, io->in.eas.eas, 4)); + ea_put_list_chained(b.data, io->in.eas.num_eas, io->in.eas.eas, 4); status = smb2_create_blob_add(req, &io->in.blobs, SMB2_CREATE_TAG_EXTA, b); if (!NT_STATUS_IS_OK(status)) { |