diff options
author | Jeremy Allison <jra@samba.org> | 2014-11-26 13:33:57 -0800 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2014-12-04 21:55:15 +0100 |
commit | 2bea37d47ab398bf282f62c9d59429ce54b4bb4e (patch) | |
tree | aaa19494eb8da61e23011da474e375bcd9c32207 /source3 | |
parent | 192fa109640e1f9bbb7b1845580c6f812c6900a3 (diff) | |
download | samba-2bea37d47ab398bf282f62c9d59429ce54b4bb4e.tar.gz |
libcli: SMB2: Pure SMB2-only negprot fix to make us behave as a Windows client does.
Required as some servers return zero when asked for
zero credits in an initial SMB2-only negprot.
Back-port of c426f97238e4f664d1b13781101ca9c942aa7d0d
from master.
https://bugzilla.samba.org/show_bug.cgi?id=10966
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User(v4-1-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-1-test): Thu Dec 4 21:55:16 CET 2014 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/local.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/local.h b/source3/include/local.h index a87ab8f100..5ea7960ad3 100644 --- a/source3/include/local.h +++ b/source3/include/local.h @@ -217,4 +217,6 @@ #define DEFAULT_SMB2_MAX_TRANSACT (1024*1024) #define DEFAULT_SMB2_MAX_CREDITS 8192 +#define WINDOWS_CLIENT_PURE_SMB2_NEGPROT_INITIAL_CREDIT_ASK 31 + #endif |