Displaying 1 result from an estimated 1 matches for "client_lm_response".
2004 Sep 30
1
[PATCH] NTLM2 support
...gt;lookup_credentials(auth_request,
PASSDB_CREDENTIALS_LANMAN,
lm_credentials_callback);
@@ -105,8 +106,16 @@ ntlm_credentials_callback(const char *cr
NTLMSSP_V2_RESPONSE_SIZE) == 0;
} else {
unsigned char ntlm_response[NTLMSSP_RESPONSE_SIZE];
+ const unsigned char *client_lm_response =
+ ntlmssp_buffer_data(auth->response, lm_response);
- ntlmssp_v1_response(hash, auth->challenge, ntlm_response);
+ if (auth->ntlm2_negotiated)
+ ntlmssp2_response(hash, auth->challenge,
+ client_lm_response,
+ ntlm_response);
+ else
+ ntlmssp_v1_response(hash,...