Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Don't use the kerberos.GSSError.message attribute - #291

Closed
4gra wants to merge 3 commits into
fritzy:developfrom
4gra:develop
Closed

4gra wants to merge 3 commits into
fritzy:developfrom
4gra:develop

Conversation

@4gra

@4gra 4gra commented May 14, 2014

Copy link
Copy Markdown
Contributor

Replaced the reference to kerberos.GSSError.message in any raised exception, because:
DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
and its natural repr is probably the most desirable output.

4gra added 3 commits May 14, 2014 17:47
Replaced the reference to kerberos.GSSError.message in any raised exception, because:

 DeprecationWarning: BaseException.message has been deprecated as of Python 2.6

and its natural repr is probably the most desirable output.
When the GSSAPI mechanism's process() function is invoked for the third time (on success) it must not attempt further processing.  Instead it should clean the context and return an empty response.
Despite http://xmpp.org/rfcs/rfc3920.html#rfc.section.6.2, jabberd version 2.2.14 cannot accept the typical "<response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">=</response>".  Instead it must be truly empty, so we force an empty response for this stanza only.
@4gra 4gra closed this May 14, 2014
@4gra 4gra reopened this May 14, 2014
@4gra 4gra closed this May 14, 2014
@4gra

4gra commented May 14, 2014

Copy link
Copy Markdown
Contributor Author

Sorry, managed to combine pull requests somehow. I'll get the hang of this thing eventually :)

@4gra

4gra commented May 14, 2014

Copy link
Copy Markdown
Contributor Author

Now in #292

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant