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 7e69b65cb9..d90c90db79 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -160,7 +160,7 @@ FN_GLOBAL_BOOL(async_smb_echo_handler, async_smb_echo_handler)
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, bClientNTLMv2Auth)
+FN_GLOBAL_BOOL(client_ntlmv2_auth, client_ntlmv2_auth)
FN_GLOBAL_BOOL(client_plaintext_auth, bClientPlaintextAuth)
FN_GLOBAL_BOOL(client_use_spnego, bClientUseSpnego)
FN_GLOBAL_BOOL(client_use_spnego_principal, client_use_spnego_principal)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 3822e9f8e6..db120fdd27 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -710,7 +710,7 @@ static struct parm_struct parm_table[] = {
.label = "client NTLMv2 auth",
.type = P_BOOL,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(bClientNTLMv2Auth),
+ .offset = GLOBAL_VAR(client_ntlmv2_auth),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 143b119e55..1adbfc66a4 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -878,7 +878,7 @@ static void init_globals(bool reinit_globals)
Globals.bClientPlaintextAuth = 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.bClientNTLMv2Auth = true; /* Client should always use use NTLMv2, as we can't tell that the server supports it, but most modern servers do */
+ 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 */
/* Note, that we will also use NTLM2 session security (which is different), if it is available */
Globals.map_to_guest = 0; /* By Default, "Never" */
@@ -4037,7 +4037,7 @@ static void lp_save_defaults(void)
static void set_allowed_client_auth(void)
{
- if (Globals.bClientNTLMv2Auth) {
+ if (Globals.client_ntlmv2_auth) {
Globals.client_lanman_auth = false;
}
if (!Globals.client_lanman_auth) {