diff options
-rw-r--r-- | source4/smb_server/nttrans.c | 3 |
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; |