Displaying 2 results from an estimated 2 matches for "auth_client_get_available_mech".
Did you mean:
  auth_client_get_available_mechs
  
2006 Dec 13
2
Authorization client connect failing
...e a few days for the 
server to hang again.  I hope someone can help me figure out the problem 
so my mail server works reliably!
Here is a successful login attempt.
Dec  9 10:34:45 myhost dovecot: imap-login: DEBUG:: 
auth_client_is_connected?
Dec  9 10:34:45 myhost dovecot: imap-login: DEBUG:: 
auth_client_get_available_mechs
Dec  9 10:34:45 myhost dovecot: imap-login: DEBUG:: auth_client_new
Dec  9 10:34:45 myhost dovecot: imap-login: DEBUG:: auth_client_new_external
Dec  9 10:34:45 myhost dovecot: imap-login: DEBUG:: 
auth_client_connect_missing_servers
Dec  9 10:34:45 myhost dovecot: imap-login: DEBUG:: creating fil...
2004 Oct 07
0
[PATCH] change old style SASL discovery code
...uthentication. Sometimes this kludge is called
-		   "old-style SASL discovery". */
+	if (*args == '\0') {
+		/* Old-style SASL discovery, used by MS Outlook */
+		int i, count;
 		client_send_line(client, "+OK");
- 		client_send_line(client, "NTLM");
+		mech = auth_client_get_available_mechs(auth_client, &count);
+		for (i = 0; i < count; i++) {
+			if (mech[i].advertise) {
+		 		client_send_line(client, mech[i].name);
+			}
+		}
  		client_send_line(client, ".");
  		return TRUE;
- 	}
+	}
 
 	/* <mechanism name> <initial response> */
 	p = strchr(args, ...