diff options
| author | Andrew Bartlett <abartlet@samba.org> | 2013-12-24 16:03:51 +1300 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2014-01-24 16:18:53 -0800 |
| commit | 528d302877467768a96505cc1018564b84c3c598 (patch) | |
| tree | 9a3ad4f204349f04291b277b90bacb08b4a06486 | |
| parent | 9032e5cfe4c9b6cbb94507b62adf72facf343ac2 (diff) | |
| download | samba-528d302877467768a96505cc1018564b84c3c598.tar.gz samba-528d302877467768a96505cc1018564b84c3c598.tar.xz samba-528d302877467768a96505cc1018564b84c3c598.zip | |
param: Rename variable used for lp_ntlm_auth bNTLMAuth
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
| -rw-r--r-- | lib/param/param_functions.c | 2 | ||||
| -rw-r--r-- | lib/param/param_table.c | 2 | ||||
| -rw-r--r-- | source3/param/loadparm.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index ba9361c5dd..900b4fba2e 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -196,7 +196,7 @@ FN_GLOBAL_BOOL(multicast_dns_register, multicast_dns_register) FN_GLOBAL_BOOL(neutralize_nt4_emulation, neutralize_nt4_emulation) FN_GLOBAL_BOOL(nis_home_map, nis_home_map) FN_GLOBAL_BOOL(nmbd_bind_explicit_broadcast, nmbd_bind_explicit_broadcast) -FN_GLOBAL_BOOL(ntlm_auth, bNTLMAuth) +FN_GLOBAL_BOOL(ntlm_auth, ntlm_auth) FN_GLOBAL_BOOL(nt_pipe_support, bNTPipeSupport) FN_GLOBAL_BOOL(nt_status_support, bNTStatusSupport) FN_GLOBAL_BOOL(null_passwords, bNullPasswords) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index b09a9e3ade..266d46b14c 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -701,7 +701,7 @@ static struct parm_struct parm_table[] = { .label = "ntlm auth", .type = P_BOOL, .p_class = P_GLOBAL, - .offset = GLOBAL_VAR(bNTLMAuth), + .offset = GLOBAL_VAR(ntlm_auth), .special = NULL, .enum_list = NULL, .flags = FLAG_ADVANCED, diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 11f313080e..f736dcac18 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -877,7 +877,7 @@ static void init_globals(bool reinit_globals) Globals.client_lanman_auth = false; /* Do NOT use the LanMan hash if it is available */ Globals.client_plaintext_auth = false; /* Do NOT use a plaintext password even if is requested by the server */ Globals.lanman_auth = 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.ntlm_auth = 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 */ /* Note, that we will also use NTLM2 session security (which is different), if it is available */ |
