summaryrefslogtreecommitdiff
path: root/source4/smb_server/nttrans.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smb_server/nttrans.c')
-rw-r--r--source4/smb_server/nttrans.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/smb_server/nttrans.c b/source4/smb_server/nttrans.c
index 27fb4d22db..abb66a24ca 100644
--- a/source4/smb_server/nttrans.c
+++ b/source4/smb_server/nttrans.c
@@ -413,10 +413,13 @@ void reply_nttrans(struct smbsrv_request *req)
return;
}
+#if 0
+ /* w2k3 does not check the max_setup count */
if (trans.out.setup_count > trans.in.max_setup) {
req_reply_error(req, NT_STATUS_BUFFER_TOO_SMALL);
return;
}
+#endif
if (trans.out.params.length > trans.in.max_param) {
status = NT_STATUS_BUFFER_TOO_SMALL;
trans.out.params.length = trans.in.max_param;