summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2013-04-03 14:01:00 +0200
committerStefan Metzmacher <metze@samba.org>2013-04-03 16:14:32 +0200
commited76e65172ba1a21ef21b3c0267ed5ef1aa8aa9b (patch)
treebf47f8c9c5b6031dbb224aec842841c1b14b82b1 /source4/smb_server
parent79038397aa8786c92401312973185c7b14e8fa66 (diff)
downloadsamba-ed76e65172ba1a21ef21b3c0267ed5ef1aa8aa9b.tar.gz
samba-ed76e65172ba1a21ef21b3c0267ed5ef1aa8aa9b.tar.bz2
samba-ed76e65172ba1a21ef21b3c0267ed5ef1aa8aa9b.zip
ntvfs: support setfileinfo with FULL_EA_INFORMATION
Use existing unmarshall and set helper functions. This allows the smb2.setinfo.setinfo test to run against the ntvfs file server. Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Apr 3 16:14:33 CEST 2013 on sn-devel-104
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/blob.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/smb_server/blob.c b/source4/smb_server/blob.c
index c0077c01c9..a3e11239b1 100644
--- a/source4/smb_server/blob.c
+++ b/source4/smb_server/blob.c
@@ -625,6 +625,12 @@ NTSTATUS smbsrv_pull_passthru_sfileinfo(TALLOC_CTX *mem_ctx,
return NT_STATUS_OK;
+ case RAW_SFILEINFO_FULL_EA_INFORMATION:
+ return ea_pull_list_chained(blob,
+ mem_ctx,
+ &st->full_ea_information.in.eas.num_eas,
+ &st->full_ea_information.in.eas.eas);
+
case RAW_SFILEINFO_MODE_INFORMATION:
BLOB_CHECK_MIN_SIZE(blob, 4);