summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/rawnegotiate.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-29 06:01:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:00 -0500
commit072dfad0afc9940c4c51cbecad9b3acf0cc38844 (patch)
tree371bf1f77b46e34d5311e30db9ddd0053affc327 /source4/libcli/raw/rawnegotiate.c
parentd1a732dd2d0828cb3f1f67e86acffcb053ca6851 (diff)
downloadsamba-072dfad0afc9940c4c51cbecad9b3acf0cc38844.tar.gz
samba-072dfad0afc9940c4c51cbecad9b3acf0cc38844.tar.bz2
samba-072dfad0afc9940c4c51cbecad9b3acf0cc38844.zip
r3354: honor "max xmit" and "max mux" from smb.conf in our client code. This
is important as it allows the test suite to exercise the multiple reply logic in smbd for trans2 search replies. (This used to be commit 865159016ab1e806465a55697444228fb3fa286e)
Diffstat (limited to 'source4/libcli/raw/rawnegotiate.c')
-rw-r--r--source4/libcli/raw/rawnegotiate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/raw/rawnegotiate.c b/source4/libcli/raw/rawnegotiate.c
index fdc1d0eb60..f99b9741f4 100644
--- a/source4/libcli/raw/rawnegotiate.c
+++ b/source4/libcli/raw/rawnegotiate.c
@@ -169,7 +169,7 @@ NTSTATUS smb_raw_negotiate(struct smbcli_transport *transport)
/* the old core protocol */
transport->negotiate.sec_mode = 0;
transport->negotiate.server_time = time(NULL);
- transport->negotiate.max_xmit = ~0;
+ transport->negotiate.max_xmit = transport->options.max_xmit;
transport->negotiate.server_zone = get_time_zone(transport->negotiate.server_time);
}