From cf7c41b841d03ecbe09ee531f6dd73be17948ac1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 9 Jun 2009 20:02:48 +0200 Subject: s3:smbd: the SMB2-COMPOUND test shows that the related vs. unrelated flags isn't checked first metze --- source3/smbd/smb2_server.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3') diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c index 101ccc951a..c889555a1c 100644 --- a/source3/smbd/smb2_server.c +++ b/source3/smbd/smb2_server.c @@ -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 } } -- cgit