summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIra Cooper <ira@samba.org>2012-09-19 18:39:07 +0000
committerKarolin Seeger <kseeger@samba.org>2012-09-28 09:23:07 +0200
commit8b67af7c7a84a98794f0941473356537b8d5ee85 (patch)
tree8d3c254865ce27cd50e701268cc18a85dca3eb2a
parentce21ae164454afacaa81c9a5ad047be0396a96ed (diff)
downloadsamba-8b67af7c7a84a98794f0941473356537b8d5ee85.tar.gz
s3: Compound requests should continue processing.
This patch addresses #9173. Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 75951946193c874b6db30c1b9c8722264c3ce656) Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/smbd/smb2_server.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index fd90b2f81be..803be5e2881 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -2683,10 +2683,9 @@ NTSTATUS smbd_smb2_request_error_ex(struct smbd_smb2_request *req,
}
/*
- * if a request fails, all other remaining
- * compounded requests should fail too
+ * Note: Even if there is an error, continue to process the request.
+ * per MS-SMB2.
*/
- req->next_status = NT_STATUS_INVALID_PARAMETER;
return smbd_smb2_request_done_ex(req, status, body, info, __location__);
}