From: Christian Ambach Date: Mon, 27 Feb 2012 13:56:57 +0000 (-0800) Subject: s3:smb2_server use the correct variables for max read/write X-Git-Tag: tdb-1.2.10~280 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=880f64b5560b0b27d7f1313c8a78044d871d27ad;p=thirdparty%2Fsamba.git s3:smb2_server use the correct variables for max read/write Signed-off-by: Jeremy Allison --- diff --git a/source3/smbd/smb2_negprot.c b/source3/smbd/smb2_negprot.c index d971fba034d..dd27700c7b5 100644 --- a/source3/smbd/smb2_negprot.c +++ b/source3/smbd/smb2_negprot.c @@ -261,8 +261,8 @@ NTSTATUS smbd_smb2_request_process_negprot(struct smbd_smb2_request *req) SIVAL(outbody.data, 0x18, capabilities); /* capabilities */ SIVAL(outbody.data, 0x1C, max_trans); /* max transact size */ - SIVAL(outbody.data, 0x20, max_trans); /* max read size */ - SIVAL(outbody.data, 0x24, max_trans); /* max write size */ + SIVAL(outbody.data, 0x20, max_read); /* max read size */ + SIVAL(outbody.data, 0x24, max_write); /* max write size */ SBVAL(outbody.data, 0x28, 0); /* system time */ SBVAL(outbody.data, 0x30, 0); /* server start time */ SSVAL(outbody.data, 0x38,