summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-03-23 03:17:38 +0000
committerAndrew Tridgell <tridge@samba.org>2004-03-23 03:17:38 +0000
commit0340fec0c1a01339d459c9505614d69ac6a62e9b (patch)
treec120aae94b2d3a7e60135c0794e8f2455e72e831 /source4/smb_server
parentc5679b707e69a931676ae074917b63b985ed17fb (diff)
downloadsamba-0340fec0c1a01339d459c9505614d69ac6a62e9b.tar.gz
samba-0340fec0c1a01339d459c9505614d69ac6a62e9b.tar.bz2
samba-0340fec0c1a01339d459c9505614d69ac6a62e9b.zip
put the "max xmit" option back into Samba4
(This used to be commit 82e50a1ce8904c72c90b1e771f232acaad2c835e)
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;