commit 138983c91edbb8d2176f5658607d80758dfbcf56
Author: Oswald Buddenhagen <[email protected]>
Date: Mon Mar 30 12:59:40 2015 +0200
fix SASL PLAIN for User != $USER
REFMAIL: [email protected]
src/drv_imap.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/drv_imap.c b/src/drv_imap.c
index a03b469..d00b43c 100644
--- a/src/drv_imap.c
+++ b/src/drv_imap.c
@@ -1775,7 +1775,7 @@ ensure_password( imap_server_conf_t *srvc )
#ifdef HAVE_LIBSASL
static sasl_callback_t sasl_callbacks[] = {
- { SASL_CB_USER, NULL, NULL },
+ { SASL_CB_AUTHNAME, NULL, NULL },
{ SASL_CB_PASS, NULL, NULL },
{ SASL_CB_LIST_END, NULL, NULL }
};
@@ -1789,7 +1789,7 @@ process_sasl_interact( sasl_interact_t *interact,
imap_server_conf_t *srvc )
switch (interact->id) {
case SASL_CB_LIST_END:
return 0;
- case SASL_CB_USER:
+ case SASL_CB_AUTHNAME:
val = ensure_user( srvc );
break;
case SASL_CB_PASS:
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel