search for: ntlmssp_v1_response

Displaying 4 results from an estimated 4 matches for "ntlmssp_v1_response".

2004 Sep 30
1
[PATCH] NTLM2 support
..._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, auth->challenge, + ntlm_response); ret = memcmp(ntlm_response, clien...
2004 Aug 30
0
[PATCH] NTLM fixes
...d char *challenge, - unsigned char *response) -{ - deshash(response, hash, challenge); - deshash(response + 8, hash + 7, challenge); - deshash(response + 16, hash + 14, challenge); -} - const unsigned char * lm_hash(const char *passwd, unsigned char hash[LM_HASH_SIZE]) { @@ -112,7 +102,11 @@ ntlmssp_v1_response(const unsigned char memset(des_hash + NTLMSSP_HASH_SIZE, 0, sizeof(des_hash) - NTLMSSP_HASH_SIZE); - ntlmssp_des_encrypt_triad(des_hash, challenge, response); + deshash(response, des_hash, challenge); + deshash(response + 8, des_hash + 7, challenge); + deshash(response + 16, des_hash...
2004 Nov 10
0
[PATCH] NTLM update and crashfix
...LM_RESPONSE_SIZE)) { mech_auth_finish(auth_request, NULL, 0, FALSE); return; } @@ -54,8 +59,6 @@ lm_credentials_callback(const char *cred hash, sizeof(hash)); hex_to_binary(credentials, hash_buffer); - client_response = ntlmssp_buffer_data(request->response, lm_response); - ntlmssp_v1_response(hash, request->challenge, lm_response); ret = memcmp(lm_response, client_response, LM_RESPONSE_SIZE) == 0; @@ -75,10 +78,18 @@ ntlm_credentials_callback(const char *cr buffer_t *hash_buffer; int ret; - if (credentials == NULL && !request->ntlm2_negotiated) { - passdb->lo...
2004 Jul 27
3
[PATCH 0/10] NTLM patchset submission
Hello all, as I promised some days ago here is NTLM (aka SPA, aka MSN) authentication support patchset. It contains common code in src/lib-ntlm directory, Samba compatible NTLM password scheme and authentication mechanism itself. All patches are against 1.0-test30. Please take a look. Best regards. -- Andrey Panin | Linux and UNIX system administrator pazke at donpac.ru | PGP key: