summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/param/loadparm.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 13b1350624..01e57275b7 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1188,6 +1188,8 @@ int lp_deadtime(void);
bool lp_getwd_cache(void);
int lp_srv_maxprotocol(void);
int lp_srv_minprotocol(void);
+int lp_cli_maxprotocol(void);
+int lp_cli_minprotocol(void);
int lp_security(void);
int lp__server_role(void);
int lp__security(void);
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;