diff options
author | Jeremy Allison <jra@samba.org> | 2003-08-11 21:44:19 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-08-11 21:44:19 +0000 |
commit | ba075ff03af06dfc2f4bcb952508bbc4a6967d85 (patch) | |
tree | 5990d9ddde25045bc6f4db00917cfe8fc2656496 /source | |
parent | f6d853d36a37dd854a410717af2f7eaf9457eeb5 (diff) | |
download | samba-ba075ff03af06dfc2f4bcb952508bbc4a6967d85.tar.gz samba-ba075ff03af06dfc2f4bcb952508bbc4a6967d85.tar.xz samba-ba075ff03af06dfc2f4bcb952508bbc4a6967d85.zip |
Fallback to not using NTLMv2 is extended security not supported.
Jeremy.
Diffstat (limited to 'source')
-rw-r--r-- | source/libsmb/cliconnect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/cliconnect.c b/source/libsmb/cliconnect.c index a1a207d1976..1f06ebf66fb 100644 --- a/source/libsmb/cliconnect.c +++ b/source/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)); |