summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-12-04 14:57:46 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-12-10 16:08:30 +1100
commit635fbf2b5498df5698e240728add95f8ff8cda0f (patch)
tree7cb433f9edb9acc1e2defa016de39e8343328806 /source3/param
parentb3c2df5e0d0ba1c17c3248bf9d238de3c54613ef (diff)
downloadsamba-635fbf2b5498df5698e240728add95f8ff8cda0f.tar.gz
samba-635fbf2b5498df5698e240728add95f8ff8cda0f.tar.bz2
samba-635fbf2b5498df5698e240728add95f8ff8cda0f.zip
s3-client Use NTLMv2 by default in the Samba client
This matches the improved security measures of Windows Vista. Andrew Bartlett
Diffstat (limited to 'source3/param')
-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 b7f6a99f49..807d074082 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -5253,8 +5253,8 @@ 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 = False; /* Client should not use NTLMv2, as we can't tell that the server supports it. */
- /* Note, that we will use NTLM2 session security (which is different), if it is available */
+ Globals.bClientNTLMv2Auth = 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" */
Globals.oplock_break_wait_time = 0; /* By Default, 0 msecs. */