set gssapi to false on kerberos error
* this fixes a crash when the n-th connection returns an error by falling back to plainauth Signed-off-by: Christoph Höger <choeger@cs.tu-berlin.de>
This commit is contained in:
parent
d1f5a28277
commit
0a221dc9c5
@ -274,6 +274,7 @@ class IMAPServer:
|
|||||||
try:
|
try:
|
||||||
imapobj.authenticate('GSSAPI', self.gssauth)
|
imapobj.authenticate('GSSAPI', self.gssauth)
|
||||||
except imapobj.error, val:
|
except imapobj.error, val:
|
||||||
|
self.gssapi = False
|
||||||
UIBase.getglobalui().debug('imap',
|
UIBase.getglobalui().debug('imap',
|
||||||
'GSSAPI Authentication failed')
|
'GSSAPI Authentication failed')
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user