From c0d9ab3ba55fb817f8d114e57bfa9052b7dae92b Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 19 Feb 2015 09:39:14 -0800 Subject: [PATCH] s3: smbd: SMB2 - read close flags from the correct place in the packet. Bug 11104 - SMB2/SMB3 close response does not include attributes when requested https://bugzilla.samba.org/show_bug.cgi?id=11104 Signed-off-by: Jeremy Allison --- source3/smbd/smb2_close.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/smb2_close.c b/source3/smbd/smb2_close.c index 0e1475d..996ad5d 100644 --- a/source3/smbd/smb2_close.c +++ b/source3/smbd/smb2_close.c @@ -58,7 +58,7 @@ NTSTATUS smbd_smb2_request_process_close(struct smbd_smb2_request *req) } inbody = SMBD_SMB2_IN_BODY_PTR(req); - in_flags = SVAL(inbody, 0x02); + in_flags = SVAL(inbody, 0x00); in_file_id_persistent = BVAL(inbody, 0x08); in_file_id_volatile = BVAL(inbody, 0x10); -- 1.9.1