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

Conversation

@4gra
Copy link
Contributor

@4gra 4gra commented May 14, 2014

The following minimal changes allow SleekXMPP to connect to a jabberd2 server using Kerberos. Commit a918bf3 breaks an RFC so it's probably more contentious than the other two.

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
Copy link
Contributor Author

4gra commented May 14, 2014

re a918bf3 - see also rtreffer/smack#1 for a similar issue on another client.

legastero added a commit that referenced this pull request May 16, 2014
Fix support for jabberd2 with GSSAPI
@legastero legastero merged commit 6ecc39b into fritzy:develop May 16, 2014
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.

2 participants