This is a collection of erlang modules for providing couchdb support for ejabberd. Similar to the odbc and ldap modules in the ejabberd distribution. Right now it only supports authentication.
{ _id: "tofu@xmppserver.tld", _rev: "...", email: "tofu@collecta.com", password: "SHA1:sha1-hash" }
- Install ejabberd
- NOTE: If you do not use source make sure you get developement packages.
- Install ecouch -
- located at the following url : http://code.google.com/p/ecouch/
- Install ejabberd-couchdb
./bootstrap.sh ;./configure;make install
- Configure ejabberd
-
Add couch as the authentication module.
{auth_method, couchdb}.
- Configure couchdb options.
{couchdb_options, [ {host,"localhost"}, {port,"5489"}, {user, none}, {pass, none} ]}.
-
Add couch as the authentication module.