Displaying 3 results from an estimated 3 matches for "auth_request_fail".
2006 Apr 04
1
plain auth problem with beta4
Using kmail with PLAIN authentication worked fine with beta3 but trying it
with beta4 authentication fails.
This is because kmail sends "username \0 username \0 password" in the
authorization token and the new code to call
auth_request_set_login_username() when supplied an authid must be returning
failure (certainly commenting this code out returns to the beta3 behaviour of
2012 Oct 02
2
[PATCH] Add SCRAM-SHA-1 password scheme
...en));
+ if (base64_decode(fields[2], len, NULL,
+ request->stored_key) < 0) {
auth_request_log_info(auth_request, "scram-sha-1",
- "password mismatch");
+ "Invalid base64 encoding"
+ "of StoredKey in passdb");
auth_request_fail(auth_request);
- } else {
- server_final_message = get_scram_server_final(request);
- auth_request_success(auth_request, server_final_message,
- strlen(server_final_message));
+ break;
}
+
+ len = strlen(fields[3]);
+ request->server_key = buffer_create_dynamic(request->p...
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
...const unsigned char *data, size_t data_size,
+ bool submit)
{
const char *authid, *authenid, *error;
char *pass;
@@ -54,6 +56,19 @@
auth_request_log_info(request, "plain",
"login user: %s", error);
auth_request_fail(request);
+
+ /* APPLE - urlauth */
+ } else if (submit) {
+ if (request->requested_login_user != NULL &&
+ *request->requested_login_user != '\0')
+ auth_request_verify_plain(request, pass,
+ plain_verify_callback);
+ else {
+ auth_request_log_info(request,...