summaryrefslogtreecommitdiffstats
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/param/loadparm.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c
index d90c90db79..1ba64e7a37 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -161,7 +161,7 @@ FN_GLOBAL_BOOL(bind_interfaces_only, bind_interfaces_only)
FN_GLOBAL_BOOL(browse_list, browse_list)
FN_GLOBAL_BOOL(client_lanman_auth, client_lanman_auth)
FN_GLOBAL_BOOL(client_ntlmv2_auth, client_ntlmv2_auth)
-FN_GLOBAL_BOOL(client_plaintext_auth, bClientPlaintextAuth)
+FN_GLOBAL_BOOL(client_plaintext_auth, client_plaintext_auth)
FN_GLOBAL_BOOL(client_use_spnego, bClientUseSpnego)
FN_GLOBAL_BOOL(client_use_spnego_principal, client_use_spnego_principal)
FN_GLOBAL_BOOL(clustering, clustering)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index db120fdd27..503c1558b1 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -728,7 +728,7 @@ static struct parm_struct parm_table[] = {
.label = "client plaintext auth",
.type = P_BOOL,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(bClientPlaintextAuth),
+ .offset = GLOBAL_VAR(client_plaintext_auth),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 1adbfc66a4..096859a162 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -875,7 +875,7 @@ static void init_globals(bool reinit_globals)
Globals.iMaxStatCacheSize = 256; /* 256k by default */
Globals.restrict_anonymous = 0;
Globals.client_lanman_auth = false; /* Do NOT use the LanMan hash if it is available */
- Globals.bClientPlaintextAuth = false; /* Do NOT use a plaintext password even if is requested by the server */
+ Globals.client_plaintext_auth = false; /* Do NOT use a plaintext password even if is requested by the server */
Globals.bLanmanAuth = false; /* Do NOT use the LanMan hash, even if it is supplied */
Globals.bNTLMAuth = true; /* Do use NTLMv1 if it is supplied by the client (otherwise NTLMv2) */
Globals.client_ntlmv2_auth = true; /* Client should always use use NTLMv2, as we can't tell that the server supports it, but most modern servers do */
@@ -4041,7 +4041,7 @@ static void set_allowed_client_auth(void)
Globals.client_lanman_auth = false;
}
if (!Globals.client_lanman_auth) {
- Globals.bClientPlaintextAuth = false;
+ Globals.client_plaintext_auth = false;
}
}