summaryrefslogtreecommitdiffstats
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-12-24 16:03:43 +1300
committerJeremy Allison <jra@samba.org>2014-01-24 16:18:51 -0800
commit7dc9eff98e4ac1a70a4fdb4bd4cf4062eca35c41 (patch)
tree088cd4d661156e93fec95c43a9f71322b130bdfa /source3/param/loadparm.c
parent7802c9db14ba50a9ca56da736dcf5526bd73da31 (diff)
downloadsamba-7dc9eff98e4ac1a70a4fdb4bd4cf4062eca35c41.tar.gz
samba-7dc9eff98e4ac1a70a4fdb4bd4cf4062eca35c41.tar.xz
samba-7dc9eff98e4ac1a70a4fdb4bd4cf4062eca35c41.zip
param: Rename variable used for lp_client_ntlmv2_auth bClientNTLMv2Auth
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 2 insertions, 2 deletions
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) {