1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

Fallback to not using NTLMv2 is extended security not supported.

Jeremy.
(This used to be commit ba075ff03a)
This commit is contained in:
Jeremy Allison 2003-08-11 21:44:19 +00:00
parent 494ea48821
commit 102de75a7c

View File

@ -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));