[SCM] Samba Shared Repository - branch master updated
Jeremy Allison
jra at samba.org
Wed May 5 10:43:32 MDT 2010
The branch, master has been updated
via 4a97912... Client ignoring max write is a warning, not an error.
from 44e9a90... Start to pass the SMB2 read torture tests.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 4a97912baffd4c224677dd15da11c85c92901e4a
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 5 09:42:45 2010 -0700
Client ignoring max write is a warning, not an error.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/smb2_write.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/smb2_write.c b/source3/smbd/smb2_write.c
index 608cf09..b8e7a9c 100644
--- a/source3/smbd/smb2_write.c
+++ b/source3/smbd/smb2_write.c
@@ -82,9 +82,13 @@ NTSTATUS smbd_smb2_request_process_write(struct smbd_smb2_request *req)
/* check the max write size */
if (in_data_length > lp_smb2_max_write()) {
- DEBUG(0,("here:%s: 0x%08X: 0x%08X\n",
+ /* This is a warning. */
+ DEBUG(2,("smbd_smb2_request_process_write : "
+ "client ignored max write :%s: 0x%08X: 0x%08X\n",
__location__, in_data_length, lp_smb2_max_write()));
+#if 0
return smbd_smb2_request_error(req, NT_STATUS_INVALID_PARAMETER);
+#endif
}
in_data_buffer.data = (uint8_t *)req->in.vector[i+2].iov_base;
--
Samba Shared Repository
More information about the samba-cvs
mailing list