diff options
author | Jeremy Allison <jra@samba.org> | 2010-04-06 15:43:35 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-04-06 15:43:35 -0700 |
commit | 9c410118cb8b53a6a7194b6768f433cac056e4d2 (patch) | |
tree | da4bbc2c88538adf1ed265684ca140dfa1021d94 /source3/smbd/smb2_notify.c | |
parent | 027adf88eaf8c3a7375da7c0f9c0397db46668e6 (diff) | |
download | samba-9c410118cb8b53a6a7194b6768f433cac056e4d2.tar.gz samba-9c410118cb8b53a6a7194b6768f433cac056e4d2.tar.bz2 samba-9c410118cb8b53a6a7194b6768f433cac056e4d2.zip |
Parameterize "smb2 max read", "smb2 max write", "smb2 max trans".
Set to 64k by default.
Jeremy.
Diffstat (limited to 'source3/smbd/smb2_notify.c')
-rw-r--r-- | source3/smbd/smb2_notify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_notify.c b/source3/smbd/smb2_notify.c index fb465abff9..8fa0744319 100644 --- a/source3/smbd/smb2_notify.c +++ b/source3/smbd/smb2_notify.c @@ -70,7 +70,7 @@ NTSTATUS smbd_smb2_request_process_notify(struct smbd_smb2_request *req) * 0x00010000 is what Windows 7 uses, * Windows 2008 uses 0x00080000 */ - if (in_output_buffer_length > 0x00010000) { + if (in_output_buffer_length > lp_smb2_max_trans()) { return smbd_smb2_request_error(req, NT_STATUS_INVALID_PARAMETER); } |