[PATCH] set gssapi to false on kerberos error
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
* this fixes a crash when the n-th connection returns an error
by falling back to plainauth
Signed-off-by: Christoph Höger <choeger@xxxxxxxxxxxxxxx>
---
offlineimap/imapserver.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/offlineimap/imapserver.py b/offlineimap/imapserver.py
index 2658e74..d18ed96 100644
--- a/offlineimap/imapserver.py
+++ b/offlineimap/imapserver.py
@@ -274,6 +274,7 @@ class IMAPServer:
try:
imapobj.authenticate('GSSAPI', self.gssauth)
except imapobj.error, val:
+ self.gssapi = False
UIBase.getglobalui().debug('imap',
'GSSAPI Authentication failed')
else:
--
1.6.2.5
-- Attached file included as plaintext by Ecartis --
-- File: signature.asc
-- Desc: Dies ist ein digital signierter Nachrichtenteil
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEABECAAYFAkpIgPAACgkQhMBO4cVSGS/hAwCgts0+b/sUCA48GlkToyREVPeD
LMEAoLUtMsiayg2b2nrZdSjLkUlc3J9Q
=pQB3
-----END PGP SIGNATURE-----
- [PATCH] set gssapi to false on kerberos error,
Christoph Höger <=
|
|