Skip to content

twonds/ejabberd_couchdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ejabberd storage and authentication using couchdb

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.

Authentication Schema

{ _id: "[email protected]", _rev: "...", email: "[email protected]", password: "SHA1:sha1-hash" }

INSTALL

  1. Install ejabberd
    • NOTE: If you do not use source make sure you get developement packages.
  2. Install ecouch -
  3. Install ejabberd-couchdb
    •  ./bootstrap.sh ;./configure;make install
      
  4. Configure ejabberd
    • Add couch as the authentication module.
      {auth_method, couchdb}.
           
    • Configure couchdb options.
      {couchdb_options, [
      		  {host,"localhost"},
      		  {port,"5489"},
      		  {user, none},
      		  {pass, none}	
      		  ]}.
      

About

Couchdb backend for ejabberd

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published