commit 70759aed06d8721c5670b8ce65f604d0d03b6081
parent 7bd6b6c3729ab85350fa30d20445104fc77c6b3a
Author: Colin Leroy <colin@colino.net>
Date: Tue, 7 Oct 2008 16:15:30 +0000
2008-10-07 [colin] 3.6.0cvs14
* src/imap.c
Don't ask for a password when using GSSAPI
Diffstat:
4 files changed, 9 insertions(+), 3 deletions(-)
diff --git 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
@@ -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
@@ -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
@@ -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"),