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
commit7802c9db14ba50a9ca56da736dcf5526bd73da31 (patch)
treed9c797fec4c545bec1828494352e6880f901bf26 /source3/param/loadparm.c
parent1431a867b0ed7d55b33c5a67111dd3f54774fa6f (diff)
downloadsamba-7802c9db14ba50a9ca56da736dcf5526bd73da31.tar.gz
samba-7802c9db14ba50a9ca56da736dcf5526bd73da31.tar.xz
samba-7802c9db14ba50a9ca56da736dcf5526bd73da31.zip
param: Rename variable used for lp_client_lanman_auth bClientLanManAuth
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 69c1dad2fe..143b119e55 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -874,7 +874,7 @@ static void init_globals(bool reinit_globals)
Globals.bStatCache = true; /* use stat cache by default */
Globals.iMaxStatCacheSize = 256; /* 256k by default */
Globals.restrict_anonymous = 0;
- Globals.bClientLanManAuth = false; /* Do NOT use the LanMan hash if it is available */
+ 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.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) */
@@ -4038,9 +4038,9 @@ static void lp_save_defaults(void)
static void set_allowed_client_auth(void)
{
if (Globals.bClientNTLMv2Auth) {
- Globals.bClientLanManAuth = false;
+ Globals.client_lanman_auth = false;
}
- if (!Globals.bClientLanManAuth) {
+ if (!Globals.client_lanman_auth) {
Globals.bClientPlaintextAuth = false;
}
}