summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_create.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-09-17 09:29:07 -0700
committerJeremy Allison <jra@samba.org>2009-09-17 09:29:07 -0700
commit16836f9e9ed451b2a6690ad22a40cd1fb2cb3b46 (patch)
tree034fa043ec0b4b1ee9814f30294721f466134318 /source3/smbd/smb2_create.c
parente91cdef2d434b36ae655755ec41cea7c44df171c (diff)
downloadsamba-16836f9e9ed451b2a6690ad22a40cd1fb2cb3b46.tar.gz
samba-16836f9e9ed451b2a6690ad22a40cd1fb2cb3b46.tar.bz2
samba-16836f9e9ed451b2a6690ad22a40cd1fb2cb3b46.zip
We now pass the Microsoft SMB2 fileio test with EA's and streams...
Jeremy.
Diffstat (limited to 'source3/smbd/smb2_create.c')
-rw-r--r--source3/smbd/smb2_create.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c
index 3090650c3b..e0815049a4 100644
--- a/source3/smbd/smb2_create.c
+++ b/source3/smbd/smb2_create.c
@@ -450,9 +450,13 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx,
return tevent_req_post(req, ev);
}
- /* TODO */
- tevent_req_nterror(req, NT_STATUS_EAS_NOT_SUPPORTED);
- return tevent_req_post(req, ev);
+ ea_list = read_nttrans_ea_list(mem_ctx,
+ (const char *)exta->data.data, exta->data.length);
+ if (!ea_list) {
+ DEBUG(10,("smbd_smb2_create_send: read_ea_name_list failed.\n"));
+ tevent_req_nterror(req, NT_STATUS_INVALID_PARAMETER);
+ return tevent_req_post(req, ev);
+ }
}
if (mxac) {