s3: Compound requests should continue processing.
authorIra Cooper <ira@samba.org>
Wed, 19 Sep 2012 18:39:07 +0000 (18:39 +0000)
committerKarolin Seeger <kseeger@samba.org>
Fri, 28 Sep 2012 07:12:45 +0000 (09:12 +0200)
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>
source3/smbd/smb2_server.c

index cef0677ed1dbcf1d3f3c0bca5ae33356cc9c39c6..dfd1d71f0cedb8c2a8d538491093667e630a91a7 100644 (file)
@@ -2100,10 +2100,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__);
 }