search for: ntlm_credentials_callback

Displaying 3 results from an estimated 3 matches for "ntlm_credentials_callback".

2004 Nov 10
0
[PATCH] NTLM update and crashfix
...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->lookup_credentials(auth_request, - PASSDB_CREDENTIALS_LANMAN, - lm_credentials_callback); + response_length = + ntlmssp_buffer_length(request->r...
2004 Oct 29
1
[PATCH] yet another NTLM update
...dpNX /usr/share/dontdiff dovecot-1.0-test51.vanilla/src/auth/mech-ntlm.c dovecot-1.0-test51/src/auth/mech-ntlm.c --- dovecot-1.0-test51.vanilla/src/auth/mech-ntlm.c 2004-10-13 04:41:48.000000000 +0400 +++ dovecot-1.0-test51/src/auth/mech-ntlm.c 2004-10-29 14:54:38.000000000 +0400 @@ -74,7 +74,11 @@ ntlm_credentials_callback(const char *cr buffer_t *hash_buffer; int ret; - if (credentials == NULL && !request->ntlm2_negotiated) { + response_length = + ntlmssp_buffer_length(request->response, ntlm_response); + client_response = ntlmssp_buffer_data(request->response, ntlm_response); + + if ((creden...
2004 Sep 30
1
[PATCH] NTLM2 support
...ntlm.c 2004-08-31 13:28:03.000000000 +0400 +++ dovecot-1.0-test46/src/auth/mech-ntlm.c 2004-09-28 23:45:46.000000000 +0400 @@ -25,6 +25,7 @@ struct ntlm_auth_request { pool_t pool; /* requested: */ + int ntlm2_negotiated; const unsigned char *challenge; /* received: */ @@ -73,7 +74,7 @@ ntlm_credentials_callback(const char *cr buffer_t *hash_buffer; int ret; - if (credentials == NULL) { + if ((credentials == NULL) && !auth->ntlm2_negotiated) { passdb->lookup_credentials(auth_request, PASSDB_CREDENTIALS_LANMAN, lm_credentials_callback); @@ -105,8 +106,16 @@ ntlm_cred...