diff options
author | Andrew Bartlett <abartlet@samba.org> | 2014-09-23 14:08:10 -0700 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-10-08 01:09:51 +0200 |
commit | 14f6256c515ff4af4f478f947ad89b7edc8743cf (patch) | |
tree | a79b05d58b6326c842d3ce5ab6859880bd53cc11 /libcli | |
parent | 91d6f603b196d1f10500dff312d614d8d46cb846 (diff) | |
download | samba-14f6256c515ff4af4f478f947ad89b7edc8743cf.tar.gz samba-14f6256c515ff4af4f478f947ad89b7edc8743cf.tar.xz samba-14f6256c515ff4af4f478f947ad89b7edc8743cf.zip |
s3-winbindd: Allow winbindd to connect over SMB2 to servers
This allows SMB signing to work against many more DCs, and so improves network security.
The default for "client max protocol" remains NT1 in the rest of the code.
Andrew Bartlett
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/smb/smb_constants.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcli/smb/smb_constants.h b/libcli/smb/smb_constants.h index ea82677fa0..f2c880c49c 100644 --- a/libcli/smb/smb_constants.h +++ b/libcli/smb/smb_constants.h @@ -76,7 +76,8 @@ /* protocol types. It assumes that higher protocols include lower protocols as subsets. */ enum protocol_types { - PROTOCOL_NONE, + PROTOCOL_DEFAULT=-1, + PROTOCOL_NONE=0, PROTOCOL_CORE, PROTOCOL_COREPLUS, PROTOCOL_LANMAN1, |