Displaying 2 results from an estimated 2 matches for "reply_idx".
2004 Jul 22
1
[PATCH] add LOGIN authentication mechanism
...ot;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, strlen(pass));
+ }
+
+ retu...
2004 Aug 09
1
[PATCH] RPA authentication mechanism
...2be_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_callback_t *callback)
+{...