search for: auth_client_result_continu

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

2004 Nov 19
0
[PATCH] add initial response support for NTLM and RPA
...auth_request *auth_request, - const unsigned char *data __attr_unused__, - size_t data_size __attr_unused__, +mech_ntlm_auth_initial(struct auth_request *request, + const unsigned char *data, size_t data_size, mech_callback_t *callback) { - callback(auth_request, AUTH_CLIENT_RESULT_CONTINUE, NULL, 0); + if (data_size == 0) + callback(request, AUTH_CLIENT_RESULT_CONTINUE, NULL, 0); + else + mech_ntlm_auth_continue(request, data, data_size, callback); } static void diff -urdpNX /usr/share/dontdiff -x debian dovecot-1.0-test52.vanilla/src/auth/mech-rpa.c dovecot-1.0-test52/src/aut...
2004 Jul 22
1
[PATCH] add LOGIN authentication mechanism
...r)) { + if (verbose) { + i_info("login(%s): invalid username", + get_log_prefix(auth_request)); + } + mech_auth_finish(auth_request, NULL, 0, FALSE); + return TRUE; + } + + mech_init_auth_client_reply(&reply); + reply.id = auth_request->id; + reply.result = AUTH_CLIENT_RESULT_CONTINUE; + + reply.reply_idx = 0; + reply.data_size = strlen(prompt2); + 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, strl...
2004 Aug 09
1
[PATCH] RPA authentication mechanism
...ize); + + auth->service_ucs2be = ucs2be_str(auth->pool, service, + &auth->service_len); + auth->realm_ucs2be = ucs2be_str(auth->pool, my_hostname, + &auth->realm_len); + + mech_init_auth_client_reply(&reply); + reply.id = auth_request->id; + reply.result = AUTH_CLIENT_RESULT_CONTINUE; + + reply.reply_idx = 0; + reply.data_size = token2_size; + callback(&reply, token2, auth_request->conn); + + auth->phase = 1; + + return TRUE; +} + +static int +mech_rpa_auth_phase2(struct auth_request *auth_request, + const unsigned char *data, size_t data_size, + mech_cal...
2004 Oct 21
2
test51 dumping core
...?? () No symbol table info available. #37 0x00000000 in ?? () No symbol table info available. #38 0x00000009 in ?? () No symbol table info available. #39 0x1c0053f0 in auth_callback (request=0x0, result=0, reply=0x18cfbefe, reply_size=2161098494) at auth-client-connection.c:57 result = AUTH_CLIENT_RESULT_CONTINUE reply_size = 3485400864 str = (string_t *) 0xcfbeff18 ret = 0 Previous frame inner to this frame (corrupt stack?) (gdb) -- http://wykids.org/