summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-08-11 21:44:19 +0000
committerJeremy Allison <jra@samba.org>2003-08-11 21:44:19 +0000
commit102de75a7ca4055dee21610061429e100cfc5699 (patch)
tree0506f4b0aba42c413a157b523d16faefb1387305 /source3
parent494ea488210eae8206dce69ebbff977fe37f8f83 (diff)
downloadsamba-102de75a7ca4055dee21610061429e100cfc5699.tar.gz
samba-102de75a7ca4055dee21610061429e100cfc5699.tar.bz2
samba-102de75a7ca4055dee21610061429e100cfc5699.zip
Fallback to not using NTLMv2 is extended security not supported.
Jeremy. (This used to be commit ba075ff03af06dfc2f4bcb952508bbc4a6967d85)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/cliconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index a1a207d197..1f06ebf66f 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -268,7 +268,7 @@ static BOOL cli_session_setup_nt1(struct cli_state *cli, const char *user,
char *p;
if (passlen != 24) {
- if (lp_client_ntlmv2_auth()) {
+ if ((cli->capabilities & CAP_EXTENDED_SECURITY) && lp_client_ntlmv2_auth()) {
DATA_BLOB server_chal;
DATA_BLOB names_blob;
server_chal = data_blob(cli->secblob.data, MIN(cli->secblob.length, 8));