Support for GSSAPI authentication in version >=2.0.0

Hi,
I am planning to use the ejabberd server for a certain purpose and I need to have GSSAPI authentication enabled. While there was a patch for gssapi written for ejabberd version 1.1.2, I have observed that it no longer works for version >=2.0.0. Also I am suprised that ejabberd being such a mature project does not have GSSAPI authentication built into its core. Does anyone have a idea if there is a gssapi patch available for version >= 2.0.0 or when ejabberd is going to add GSSAPI authentication support in its core code? Any help would be appreciated.

Regards,
Rahul.

I've updated the patch for

I've updated the patch for ejabberd 2.0.1 (probably applies to 2.0.0 too). I verified it applies cleanly and compiles. But I didn't test it works correctly.

Download: gssapi-ejabberd201.diff

If you try the patch, please report if it works correctly, or if it has some problem. If it works correctly I'll update the patch page.

Page not found

Badlop, can you update the link, please? Diff seems to be gone.
I would like to test it.

Thanks,
Tomaso

Ah, right. The link is fixed

Ah, right. The link is fixed now.

If you try the patch, please comment if it works correctly or not.

Thanks

Thanks, I will check that out and will let you know about the results.

Regards,
Tomaso

Thanks badlop. I shall check

Thanks badlop. I shall check it and let you know.

I have tested the patch.

I have tested the patch. There seems to be some problem with the gethostname function in ejabberd_net.erl or maybe in the parameters it is receiving because the patch works perfectly if I hardcode the fqdn as mentioned in http://www.ejabberd.im/node/3098#comment-53349.

GSSAPI Patch fixed and tested

I have made a few modifications to the patch and it now works fine (except for the sasl fqdn question at http://www.ejabberd.im/node/3098#comment-53676). Once that is resolved, I can submit the patch. How do I upload the file?

Syndicate content