search for: ntlmssp_create_challenge

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

2004 Oct 22
1
[PATCH] support OEM encoding in NTLM messages
...auth_requ (struct ntlmssp_request *)data; const struct ntlmssp_challenge *message; size_t message_size; + uint32_t flags; if (!ntlmssp_check_request(ntlm_request, data_size, &error)) { if (verbose) { @@ -154,8 +156,9 @@ mech_ntlm_auth_continue(struct auth_requ message = ntlmssp_create_challenge(request->pool, ntlm_request, &message_size); - request->ntlm2_negotiated = - read_le32(&message->flags) & NTLMSSP_NEGOTIATE_NTLM2; + flags = read_le32(&message->flags); + request->ntlm2_negotiated = flags & NTLMSSP_NEGOTIATE_NTLM2; + request->un...
2004 Oct 07
0
[PATCH] fix NTLM2 endianness buglet
...t -------------- diff -u dovecot-1.0-test46/src/auth/mech-ntlm.c dovecot-1.0-test46/src/auth/mech-ntlm.c --- dovecot-1.0-test46/src/auth/mech-ntlm.c 2004-09-28 23:45:46.000000000 +0400 +++ dovecot-1.0-test46/src/auth/mech-ntlm.c 2004-10-04 21:41:48.000000000 +0400 @@ -154,7 +154,8 @@ message = ntlmssp_create_challenge(auth->pool, request, &message_size); - auth->ntlm2_negotiated = message->flags & NTLMSSP_NEGOTIATE_NTLM2; + auth->ntlm2_negotiated = + read_le32(&message->flags) & NTLMSSP_NEGOTIATE_NTLM2; auth->challenge = message->challenge; mech_init_aut...
2004 Sep 30
1
[PATCH] NTLM2 support
...client_lm_response, + ntlm_response); + else + ntlmssp_v1_response(hash, auth->challenge, + ntlm_response); ret = memcmp(ntlm_response, client_response, NTLMSSP_RESPONSE_SIZE) == 0; @@ -145,6 +154,7 @@ mech_ntlm_auth_continue(struct auth_requ message = ntlmssp_create_challenge(auth->pool, request, &message_size); + auth->ntlm2_negotiated = message->flags & NTLMSSP_NEGOTIATE_NTLM2; auth->challenge = message->challenge; mech_init_auth_client_reply(&reply); diff -urpNX /usr/share/dontdiff dovecot-1.0-test46.vanilla/src/lib-ntlm/...