diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-05-22 14:49:21 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-05-22 14:49:21 +1000 |
commit | dec930448f957aca7e70e975221a2ac060819b2e (patch) | |
tree | a6084ea1214bc480a5be3632a0efc76451f4159e /source4/smb_server | |
parent | 8f599b3781dac43c47b064d9bafc89e389b7c0db (diff) | |
download | samba-dec930448f957aca7e70e975221a2ac060819b2e.tar.gz samba-dec930448f957aca7e70e975221a2ac060819b2e.tar.xz samba-dec930448f957aca7e70e975221a2ac060819b2e.zip |
fixed parsing of the SMB2 ALL_INFO qfileinfo level
(This used to be commit a7be5ba22e0cf2c61501f5a05e64673f31ba145c)
Diffstat (limited to 'source4/smb_server')
-rw-r--r-- | source4/smb_server/blob.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/smb_server/blob.c b/source4/smb_server/blob.c index 8834c4483c1..65cdd2aea64 100644 --- a/source4/smb_server/blob.c +++ b/source4/smb_server/blob.c @@ -503,7 +503,8 @@ NTSTATUS smbsrv_push_passthru_fileinfo(TALLOC_CTX *mem_ctx, SIVAL(blob->data, 0x48, st->all_info2.out.ea_size); SIVAL(blob->data, 0x4C, st->all_info2.out.access_mask); SBVAL(blob->data, 0x50, st->all_info2.out.position); - SBVAL(blob->data, 0x58, st->all_info2.out.mode); + SIVAL(blob->data, 0x58, st->all_info2.out.mode); + SIVAL(blob->data, 0x5C, st->all_info2.out.alignment_requirement); BLOB_CHECK(smbsrv_blob_append_string(mem_ctx, blob, st->all_info2.out.fname.s, 0x60, default_str_flags, |