summaryrefslogtreecommitdiffstats
path: root/source4/libcli/raw/rawfileinfo.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-11-19 05:55:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:29 -0500
commit7d6f36682eab29cb23c40dd915acad61fb5d68cb (patch)
tree010c93a8e05e068af92ea1673bff3ea890a59556 /source4/libcli/raw/rawfileinfo.c
parent931b1974a27b929b5b40d65d986f6381a0bc0daa (diff)
downloadsamba-7d6f36682eab29cb23c40dd915acad61fb5d68cb.tar.gz
samba-7d6f36682eab29cb23c40dd915acad61fb5d68cb.tar.xz
samba-7d6f36682eab29cb23c40dd915acad61fb5d68cb.zip
r11800: - filled in unknown fields in SMB2 all_info level
- allow setting of the ALL_EAS flags bits in SMB2 getinfo (This used to be commit 8c7c54a46dfb91c053d07a5e606892a41213c605)
Diffstat (limited to 'source4/libcli/raw/rawfileinfo.c')
-rw-r--r--source4/libcli/raw/rawfileinfo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/libcli/raw/rawfileinfo.c b/source4/libcli/raw/rawfileinfo.c
index 7119eed5e71..92d31b30ef1 100644
--- a/source4/libcli/raw/rawfileinfo.c
+++ b/source4/libcli/raw/rawfileinfo.c
@@ -95,9 +95,9 @@ NTSTATUS smb_raw_fileinfo_passthru_parse(const DATA_BLOB *blob, TALLOC_CTX *mem_
}
parms->basic_info.out.create_time = smbcli_pull_nttime(blob->data, 0);
parms->basic_info.out.access_time = smbcli_pull_nttime(blob->data, 8);
- parms->basic_info.out.write_time = smbcli_pull_nttime(blob->data, 16);
+ parms->basic_info.out.write_time = smbcli_pull_nttime(blob->data, 16);
parms->basic_info.out.change_time = smbcli_pull_nttime(blob->data, 24);
- parms->basic_info.out.attrib = IVAL(blob->data, 32);
+ parms->basic_info.out.attrib = IVAL(blob->data, 32);
return NT_STATUS_OK;
case RAW_FILEINFO_STANDARD_INFORMATION:
@@ -236,8 +236,8 @@ NTSTATUS smb_raw_fileinfo_passthru_parse(const DATA_BLOB *blob, TALLOC_CTX *mem_
parms->all_info2.out.file_id = BVAL(blob->data, 0x40);
parms->all_info2.out.ea_size = IVAL(blob->data, 0x48);
parms->all_info2.out.access_mask = IVAL(blob->data, 0x4C);
- parms->all_info2.out.unknown2 = BVAL(blob->data, 0x50);
- parms->all_info2.out.unknown3 = BVAL(blob->data, 0x58);
+ parms->all_info2.out.position = BVAL(blob->data, 0x50);
+ parms->all_info2.out.mode = BVAL(blob->data, 0x58);
smbcli_blob_pull_string(NULL, mem_ctx, blob,
&parms->all_info2.out.fname, 0x60, 0x64, STR_UNICODE);
return NT_STATUS_OK;