diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-09-13 15:59:37 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-09-13 18:12:22 +0200 |
commit | 09547b24ff3862031e5c9a364fcdf0f3c6285bf8 (patch) | |
tree | a762c9c03540b44e85afeb14ad17fc41c5109087 | |
parent | eaccea9e2917061ae0de094d71bf3450ab00acb1 (diff) | |
download | samba-09547b24ff3862031e5c9a364fcdf0f3c6285bf8.tar.gz samba-09547b24ff3862031e5c9a364fcdf0f3c6285bf8.tar.bz2 samba-09547b24ff3862031e5c9a364fcdf0f3c6285bf8.zip |
s3:libsmb: better expect a max_xmit of 1024 instead of 0xFFFF for the CORE protocol
metze
-rw-r--r-- | source3/libsmb/cliconnect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index f47336bd47..cccb5f8bb4 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -2730,6 +2730,7 @@ static void cli_negprot_done(struct tevent_req *subreq) cli->use_spnego = False; cli->sec_mode = 0; cli->serverzone = get_time_zone(time(NULL)); + cli->max_xmit = 1024; } cli->max_xmit = MIN(cli->max_xmit, CLI_BUFFER_SIZE); |