summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/param/param_functions.c2
-rw-r--r--lib/param/param_table.c2
-rw-r--r--source3/libsmb/cliconnect.c2
-rw-r--r--source3/libsmb/clidfs.c2
-rw-r--r--source3/libsmb/libsmb_server.c2
-rw-r--r--source3/param/loadparm.c2
-rw-r--r--source3/winbindd/winbindd_cm.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c
index 9a30a5d720e..6374ae6da4c 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -278,7 +278,7 @@ FN_GLOBAL_INTEGER(client_ldap_sasl_wrapping, client_ldap_sasl_wrapping)
FN_GLOBAL_INTEGER(client_schannel, client_schannel)
FN_GLOBAL_INTEGER(client_signing, client_signing)
FN_GLOBAL_INTEGER(client_max_protocol, client_max_protocol)
-FN_GLOBAL_INTEGER(cli_minprotocol, cli_minprotocol)
+FN_GLOBAL_INTEGER(client_min_protocol, client_min_protocol)
FN_GLOBAL_INTEGER(config_backend, config_backend)
FN_GLOBAL_INTEGER(ctdb_locktime_warn_threshold, ctdb_locktime_warn_threshold)
FN_GLOBAL_INTEGER(ctdb_timeout, ctdb_timeout)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 321eeb9819e..59d62867864 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -1376,7 +1376,7 @@ static struct parm_struct parm_table[] = {
.label = "client min protocol",
.type = P_ENUM,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(cli_minprotocol),
+ .offset = GLOBAL_VAR(client_min_protocol),
.special = NULL,
.enum_list = enum_protocol,
.flags = FLAG_ADVANCED,
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index cae54434729..6ca3bab8288 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -3147,7 +3147,7 @@ static void cli_start_connection_connected(struct tevent_req *subreq)
subreq = smbXcli_negprot_send(state, state->ev, state->cli->conn,
state->cli->timeout,
- lp_cli_minprotocol(),
+ lp_client_min_protocol(),
lp_client_max_protocol());
if (tevent_req_nomem(subreq, req)) {
return;
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
index ff48719c76b..80fba23f67b 100644
--- a/source3/libsmb/clidfs.c
+++ b/source3/libsmb/clidfs.c
@@ -167,7 +167,7 @@ static NTSTATUS do_connect(TALLOC_CTX *ctx,
DEBUG(4,(" session request ok\n"));
status = smbXcli_negprot(c->conn, c->timeout,
- lp_cli_minprotocol(),
+ lp_client_min_protocol(),
max_protocol);
if (!NT_STATUS_IS_OK(status)) {
diff --git a/source3/libsmb/libsmb_server.c b/source3/libsmb/libsmb_server.c
index c5159fc72c6..3b7214c9554 100644
--- a/source3/libsmb/libsmb_server.c
+++ b/source3/libsmb/libsmb_server.c
@@ -451,7 +451,7 @@ SMBC_server_internal(TALLOC_CTX *ctx,
cli_set_timeout(c, smbc_getTimeout(context));
status = smbXcli_negprot(c->conn, c->timeout,
- lp_cli_minprotocol(),
+ lp_client_min_protocol(),
lp_client_max_protocol());
if (!NT_STATUS_IS_OK(status)) {
cli_shutdown(c);
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 6788d66c92e..8f6d7756cf9 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -822,7 +822,7 @@ static void init_globals(bool reinit_globals)
Globals.srv_maxprotocol = PROTOCOL_SMB3_00;
Globals.srv_minprotocol = PROTOCOL_LANMAN1;
Globals.client_max_protocol = PROTOCOL_NT1;
- Globals.cli_minprotocol = PROTOCOL_CORE;
+ Globals.client_min_protocol = PROTOCOL_CORE;
Globals._security = SEC_AUTO;
Globals.encrypted_passwords = true;
Globals.client_schannel = Auto;
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index 9e5adf11f0b..669a43e5ac3 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -905,7 +905,7 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain,
cli_set_timeout(*cli, 10000); /* 10 seconds */
result = smbXcli_negprot((*cli)->conn, (*cli)->timeout,
- lp_cli_minprotocol(),
+ lp_client_min_protocol(),
lp_client_max_protocol());
if (!NT_STATUS_IS_OK(result)) {