search for: auth_initial

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

2011 Jan 12
1
[PATCH] auth: Fixed mech_winbind_ntlm by using mech_winbind_auth_initial()
...). I successfully tested NTLM authentication for IMAP and POP3 (with and without STARTTLS) using following MUAs for the test: - Thunderbird 3.1.7 (Linux X86-64) - Outlook Express 6.00 (Windows XP Pro Qemu-KVM) Cheers, Chris Patch Description: In changeset 9002 a new function named mech_winbind_auth_initial() was introduced, but only the mech_winbind_spnego module part was changed to finally use this function. The mech_winbind_ntlm module part was not properly adapted which leads to a non functioning NTLM authentication mechanism while using winbind, because it will never call the `ntlm_auth` helper....
2004 Jul 22
1
[PATCH] add LOGIN authentication mechanism
...pt2); + callback(&reply, prompt2, auth_request->conn); + } else { + char *pass = p_strndup(unsafe_data_stack_pool, data, data_size); + + passdb->verify_plain(auth_request, pass, verify_callback); + + safe_memset(pass, 0, strlen(pass)); + } + + return TRUE; +} + +static int +mech_login_auth_initial(struct auth_request *auth_request, + struct auth_client_request_new *request, + const unsigned char *data __attr_unused__, + mech_callback_t *callback) +{ + struct auth_client_request_reply reply; + static const char prompt1[] = "Username:"; + + mech_init_auth_clie...
2004 Jul 01
3
[PATCH, RFC] add APOP authentication mechanism
...th->challenge)); + md5_update(&ctx, credentials, strlen(credentials)); + md5_final(&ctx, digest); + + safe_memset((void *) credentials, 0, strlen(credentials)); + + mech_auth_finish(auth_request, NULL, 0, + memcmp(digest, remote_digest, 16) ? FALSE : TRUE); +} + +static int +mech_apop_auth_initial(struct auth_request *auth_request, + struct auth_client_request_new *request, + const unsigned char *data, + mech_callback_t *callback) +{ + struct apop_auth_request *auth = + (struct apop_auth_request *)auth_request; + const unsigned char *tmp, *end, *username; + + auth_request->callback...
2004 Aug 09
1
[PATCH] RPA authentication mechanism
..._size, callback); + case 1: return mech_rpa_auth_phase2(auth_request, data, + data_size, callback); + case 2: return mech_rpa_auth_phase3(auth_request, data, + data_size, callback); + } + + mech_auth_finish(auth_request, NULL, 0, FALSE); + return TRUE; +} + +static int +mech_rpa_auth_initial(struct auth_request *auth_request, + struct auth_client_request_new *request, + const unsigned char *data __attr_unused__, + mech_callback_t *callback) +{ + struct auth_client_request_reply reply; + + mech_init_auth_client_reply(&reply); + reply.id = request->id; + reply...