Displaying 3 results from an estimated 3 matches for "lm_credentials_callback".
Did you mean:
ntlm_credentials_callback
2004 Nov 10
0
[PATCH] NTLM update and crashfix
...hare/dontdiff -x debian dovecot-1.0-test52.vanilla/src/auth/mech-ntlm.c dovecot-1.0-test52/src/auth/mech-ntlm.c
--- dovecot-1.0-test52.vanilla/src/auth/mech-ntlm.c 2004-10-22 17:32:27.000000000 +0400
+++ dovecot-1.0-test52/src/auth/mech-ntlm.c 2004-11-10 16:45:53.000000000 +0300
@@ -42,10 +42,15 @@ lm_credentials_callback(const char *cred
const unsigned char *client_response;
unsigned char lm_response[LM_RESPONSE_SIZE];
unsigned char hash[LM_HASH_SIZE];
+ unsigned int response_length;
buffer_t *hash_buffer;
int ret;
- if (credentials == NULL) {
+ response_length =
+ ntlmssp_buffer_length(request->res...
2004 Oct 29
1
[PATCH] yet another NTLM update
...NX /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
...lm.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...