summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-06-09 20:02:48 +0200
committerStefan Metzmacher <metze@samba.org>2009-06-24 21:04:56 +0200
commitcf7c41b841d03ecbe09ee531f6dd73be17948ac1 (patch)
treec5fe5399a6ece4d1c6f6567547f92105b6251300 /source3
parent17a65541bd27ce852bec77ef404c6f57ae65a50c (diff)
downloadsamba-cf7c41b841d03ecbe09ee531f6dd73be17948ac1.tar.gz
samba-cf7c41b841d03ecbe09ee531f6dd73be17948ac1.tar.bz2
samba-cf7c41b841d03ecbe09ee531f6dd73be17948ac1.zip
s3:smbd: the SMB2-COMPOUND test shows that the related vs. unrelated flags isn't checked first
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/smb2_server.c7
1 files changed, 7 insertions, 0 deletions
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
}
}