[PATCH] SASL support for djabberd

Yann Kerherve yann at sixapart.com
Tue Jan 27 02:27:35 UTC 2009

Hi List,

I have a branch for SASL support in DJabberd there:

This is certainly not perfect, but it's a first start and allowed me
to use djabberd with clients/libraries that really expect SASL (as RFC
3920 requires). I'd love to get comments/critics on my code, I guess
you can comment on github directly, but I can also create a patch for
codereview if you prefer, let me know.

To run it you need Authen::SASL 2.13 which is not released yet. You
need to pull it from me for now:

I've tried my best to keep the pluggable spirit of Djabberd, so SASL
is entirely replacable and optional, I wanted to play with a plugin
that would proxy DIGEST-MD5 negotiations to a LDAP server (that way
DJabberd wouldn't have to know users' passwords), but OpenLDAP hates
me I couldn't set it up properly and plays with it.

Just in case you have issues with DIGEST-MD5 and pidgin/adium or
anything libpurple based, be aware of:



More information about the Djabberd mailing list