summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/smb_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb_server.c b/source4/smb_server/smb_server.c
index b8e1e032e2..8769a6f3f1 100644
--- a/source4/smb_server/smb_server.c
+++ b/source4/smb_server/smb_server.c
@@ -746,7 +746,7 @@ void init_smbsession(struct event_context *ev, struct model_ops *model_ops, int
/* this is the size that w2k uses, and it appears to be important for
good performance */
- smb->negotiate.max_recv = 4356;
+ smb->negotiate.max_recv = lp_max_xmit();
smb->users.next_vuid = VUID_OFFSET;