fix traceback with kerberos GSSError handling.

This commit is contained in:
Yann Leboulanger 2009-03-20 20:02:05 +00:00
parent fc64374d81
commit 5e44243758
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ class SASL(PlugIn):
self.startsasl = SASL_IN_PROCESS
self._owner.send(str(node))
raise NodeProcessed
except GSSError, e:
except kerberos.GSSError, e:
log.info('GSSAPI authentication failed: %s' % str(e))
if 'DIGEST-MD5' in self.mecs:
self.mecs.remove('DIGEST-MD5')