diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-09-23 17:18:14 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-10-13 01:59:05 +0200 |
commit | 40ea66c5dda91ba3f74bed7db1ce02f6c8b4ffeb (patch) | |
tree | 69e62fb96a417294f56afedb2bfad9d4b651d530 /source3/smbd/globals.h | |
parent | 77f739f03a32965b676d97a6f082bb3e023014ef (diff) | |
download | samba-40ea66c5dda91ba3f74bed7db1ce02f6c8b4ffeb.tar.gz samba-40ea66c5dda91ba3f74bed7db1ce02f6c8b4ffeb.tar.bz2 samba-40ea66c5dda91ba3f74bed7db1ce02f6c8b4ffeb.zip |
s3:smb2_server: remember the max_{trans,read,write} sizes we negotiated (bug #8473)
We should enforce the negotiated max sizes instead of the
lp_smb2_max_*() sizes.
metze
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r-- | source3/smbd/globals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index 4d954534dc..7095790b7c 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -610,6 +610,9 @@ struct smbd_server_connection { uint64_t seqnum_low; uint32_t credits_granted; uint32_t max_credits; + uint32_t max_trans; + uint32_t max_read; + uint32_t max_write; struct bitmap *credits_bitmap; bool compound_related_in_progress; } smb2; |