From 102de75a7ca4055dee21610061429e100cfc5699 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 11 Aug 2003 21:44:19 +0000 Subject: Fallback to not using NTLMv2 is extended security not supported. Jeremy. (This used to be commit ba075ff03af06dfc2f4bcb952508bbc4a6967d85) --- source3/libsmb/cliconnect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- cgit