search for: auth_client_find_mech

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

2004 Dec 09
1
Help needed with debugging auth command
Hi guys, OK, so I am trying to find out why the POP3 AUTH / IMAP AUTHORIZE command is not doing what it is supposed to (not sure if it just for me or what). I am getting as far as: sasl-server.c - line 123 - mech = auth_client_find_mech(auth_client, mech_name); auth_client_find_mech is in auth-client.c which is where I am getting lost. My guess is we are not returning back to sasl-server.c since we don't get an SASL auth or an 'Unsupported' error. If I try 'PLAIN' as the auth method as the parameter then it...
2006 Dec 13
2
Authorization client connect failing
...nnect_missing_servers Dec 9 10:34:45 myhost dovecot: imap-login: DEBUG:: creating file descriptor for path... Dec 9 10:34:45 myhost dovecot: imap-login: default Dec 9 10:34:45 myhost dovecot: imap-login: DEBUG:: auth_client_set_connect_notify Dec 9 10:34:45 myhost dovecot: imap-login: DEBUG:: auth_client_find_mech Dec 9 10:34:45 myhost dovecot: imap-login: DEBUG:: auth_client_is_connected? Dec 9 10:34:47 myhost dovecot: imap-login: DEBUG:: auth_client_is_connected? Dec 9 10:34:47 myhost dovecot: imap-login: DEBUG:: auth_client_find_mech Dec 9 10:34:47 myhost dovecot: imap-login: Login: user=<myuser&...
2004 Oct 07
0
[PATCH] change old style SASL discovery code
.../client-authenticate.c 2004-09-15 17:19:12.000000000 +0400 +++ dovecot-1.0-test46/src/pop3-login/client-authenticate.c 2004-10-05 20:43:18.000000000 +0400 @@ -284,16 +284,19 @@ int cmd_auth(struct pop3_client *client, string_t *buf; size_t argslen; - if (*args == '\0' && - auth_client_find_mech(auth_client, "NTLM") != NULL) { - /* This is needed to allow MS Outlook to use NTLM - authentication. Sometimes this kludge is called - "old-style SASL discovery". */ + if (*args == '\0') { + /* Old-style SASL discovery, used by MS Outlook */ + int i, count;...
2004 Jul 01
3
[PATCH, RFC] add APOP authentication mechanism
...strcmp(cmd, "APOP") == 0) + return cmd_apop(client, args); if (strcmp(cmd, "STLS") == 0) return cmd_stls(client); if (strcmp(cmd, "QUIT") == 0) @@ -228,6 +232,15 @@ static void client_destroy_oldest(void) } } +static char *get_apop_challenge(void) +{ + if (auth_client_find_mech(auth_client, "APOP")) { + hostpid_init(); + return i_strdup_printf("<%s.%s@%s>", my_pid, dec2str(ioloop_time), my_hostname); + } else + return NULL; +} + struct client *client_create(int fd, int ssl, const struct ip_addr *local_ip, const struct ip_addr *ip) {...