From 40ea66c5dda91ba3f74bed7db1ce02f6c8b4ffeb Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 23 Sep 2011 17:18:14 +0200 Subject: 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 --- source3/smbd/globals.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/smbd/globals.h') 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; -- cgit