From: Colin Leroy Date: Tue, 7 Oct 2008 16:15:30 +0000 (+0000) Subject: 2008-10-07 [colin] 3.6.0cvs14 X-Git-Tag: rel_3_6_1~14 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=70759aed06d8721c5670b8ce65f604d0d03b6081 2008-10-07 [colin] 3.6.0cvs14 * src/imap.c Don't ask for a password when using GSSAPI --- diff --git a/ChangeLog b/ChangeLog index 7a3d91d16..a2fa67e68 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-10-07 [colin] 3.6.0cvs14 + + * src/imap.c + Don't ask for a password when using GSSAPI + 2008-10-07 [colin] 3.6.0cvs13 * src/mainwindow.c diff --git a/PATCHSETS b/PATCHSETS index 64c373fea..582dac253 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -3570,3 +3570,4 @@ ( cvs diff -u -r 1.1.2.32 -r 1.1.2.33 src/prefs_other.c; ) > 3.6.0cvs11.patchset ( cvs diff -u -r 1.274.2.280 -r 1.274.2.281 src/mainwindow.c; cvs diff -u -r 1.39.2.52 -r 1.39.2.53 src/mainwindow.h; cvs diff -u -r 1.204.2.180 -r 1.204.2.181 src/prefs_common.c; cvs diff -u -r 1.103.2.115 -r 1.103.2.116 src/prefs_common.h; cvs diff -u -r 1.395.2.394 -r 1.395.2.395 src/summaryview.c; cvs diff -u -r 1.2.2.23 -r 1.2.2.24 src/gtk/colorlabel.c; ) > 3.6.0cvs12.patchset ( cvs diff -u -r 1.274.2.281 -r 1.274.2.282 src/mainwindow.c; ) > 3.6.0cvs13.patchset +( cvs diff -u -r 1.179.2.233 -r 1.179.2.234 src/imap.c; ) > 3.6.0cvs14.patchset diff --git a/configure.ac b/configure.ac index a22700b95..76997a89c 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=6 MICRO_VERSION=0 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=13 +EXTRA_VERSION=14 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/imap.c b/src/imap.c index 7f3639c5b..b2bf4884a 100644 --- a/src/imap.c +++ b/src/imap.c @@ -1163,7 +1163,7 @@ static gint imap_session_authenticate(IMAPSession *session, acc_pass = account->passwd; try_again: pass = acc_pass; - if (!pass && account->imap_auth_type != IMAP_AUTH_ANON) { + if (!pass && account->imap_auth_type != IMAP_AUTH_ANON && account->imap_auth_type != IMAP_AUTH_GSSAPI) { gchar *tmp_pass; tmp_pass = input_dialog_query_password_keep(account->recv_server, account->userid, @@ -1172,7 +1172,7 @@ try_again: return MAILIMAP_NO_ERROR; Xstrdup_a(pass, tmp_pass, {g_free(tmp_pass); return MAILIMAP_NO_ERROR;}); g_free(tmp_pass); - } else if (account->imap_auth_type == IMAP_AUTH_ANON) { + } else if (account->imap_auth_type == IMAP_AUTH_ANON || account->imap_auth_type == IMAP_AUTH_GSSAPI) { pass = ""; } statuswindow_print_all(_("Connecting to IMAP4 server %s...\n"),