summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-05-23 00:07:12 +1000
committerAndrew Tridgell <tridge@samba.org>2008-05-23 00:07:12 +1000
commitec7a6ee8ab25f4550a68b286d9eba32b955a73a1 (patch)
treedba67687708bbb9f13d171df9193b28adf796429 /source4/smb_server
parent8fc9c71a06c49bd449b754405e0c937681f07f50 (diff)
downloadsamba-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/smb_server')
-rw-r--r--source4/smb_server/blob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/smb_server/blob.c b/source4/smb_server/blob.c
index cea4c60e59..368b81d18e 100644
--- a/source4/smb_server/blob.c
+++ b/source4/smb_server/blob.c
@@ -476,12 +476,12 @@ NTSTATUS smbsrv_push_passthru_fileinfo(TALLOC_CTX *mem_ctx,
}
list_size = ea_list_size_chained(st->all_eas.out.num_eas,
- st->all_eas.out.eas, 8);
+ st->all_eas.out.eas, 4);
BLOB_CHECK(smbsrv_blob_grow_data(mem_ctx, blob, list_size));
ea_put_list_chained(blob->data,
st->all_eas.out.num_eas,
- st->all_eas.out.eas, 8);
+ st->all_eas.out.eas, 4);
return NT_STATUS_OK;
case RAW_FILEINFO_SMB2_ALL_INFORMATION: