s3:smbd: the SMB2-COMPOUND test shows that the related vs. unrelated flags isn't...
authorStefan Metzmacher <metze@samba.org>
Tue, 9 Jun 2009 18:02:48 +0000 (20:02 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 24 Jun 2009 19:04:56 +0000 (21:04 +0200)
metze

source3/smbd/smb2_server.c

index 101ccc951a408df64d766a71794c54fdfaa81f3f..c889555a1cbaf5c37196c4ea0f8c6da8c657d84a 100644 (file)
@@ -237,6 +237,12 @@ static NTSTATUS smbd_smb2_request_validate(struct smbd_smb2_request *req)
                                compound_related = true;
                        }
                } else if (idx > 4) {
+#if 0
+                       /*
+                        * It seems the this tests are wrong
+                        * see the SMB2-COMPOUND test
+                        */
+
                        /*
                         * all other requests should match the 2nd one
                         */
@@ -253,6 +259,7 @@ static NTSTATUS smbd_smb2_request_validate(struct smbd_smb2_request *req)
                                        return NT_STATUS_OK;
                                }
                        }
+#endif
                }
        }