summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-08-07 15:17:01 -0700
committerStefan Metzmacher <metze@samba.org>2013-08-15 09:07:05 +0200
commitf2fb829cee81996c62ff91cb8d1e9997008ffb42 (patch)
tree254401fb4d63aab352d3663c802249f234448cb6 /source3/param
parent7080917a87af578f451dfc840ed9d1e47a8a865b (diff)
downloadsamba-f2fb829cee81996c62ff91cb8d1e9997008ffb42.tar.gz
samba-f2fb829cee81996c62ff91cb8d1e9997008ffb42.tar.bz2
samba-f2fb829cee81996c62ff91cb8d1e9997008ffb42.zip
s3:param: Correctly set up cli_maxprotocol, cli_minprotocol in our parameter block.
Set to PROTOCOL_NT1, PROTOCOL_CORE by default. Bug: https://bugzilla.samba.org/show_bug.cgi?id=9829 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index fa2f9b66e4..229ebd8bd1 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -828,6 +828,8 @@ static void init_globals(bool reinit_globals)
Globals.open_files_db_hash_size = SMB_OPEN_DATABASE_TDB_HASH_SIZE;
Globals.srv_maxprotocol = PROTOCOL_SMB3_00;
Globals.srv_minprotocol = PROTOCOL_LANMAN1;
+ Globals.cli_maxprotocol = PROTOCOL_NT1;
+ Globals.cli_minprotocol = PROTOCOL_CORE;
Globals.security = SEC_USER;
Globals.bEncryptPasswords = true;
Globals.clientSchannel = Auto;