mod_shared_roster_ldap

Модуль для ejabberd — mod_shared_roster_ldap
(LDAP-based shared roster module for ejabberd server)
Адрес проекта:
https://alioth.debian.org/projects/ejabberd-msrl/
Документация к версии 0.5.3:
http://ejabberd-msrl.alioth.debian.org/doc/0.5.3/msrl.html

Компиляция и установка в Debian 6 для ejabberd (2.1.5-3+squeeze1):
I. Установка ejabberd 2:

apt-get install ejabberd

II. Компиляция mod_shared_roster_ldap

  1. you need an Erlang runtime and compiler installation, they probably come together — check whether you have the erl and erlc commands. You should probably use the same (or close enough) erlang compiler version as the one which was used to compile your binary ejabberd installation.
  2. you also need an unpacked source package of ejabberd (strictly speaking only the *.hrl headers are needed) for the same version as you binary ejabberd installation [1],
  3. copy the files mod_shared_roster_ldap_helpers.erl, mod_shared_roster_ldap.hrl and mod_shared_roster_ldap.erl, into the src/ subdirectory of ejabberd source tree
  4. compile the modules by running the following in a terminal [2]:
     erlc mod_shared_roster_ldap.erl
     erlc mod_shared_roster_ldap_helpers.erl
  5. copy the resulting mod_shared_roster_ldap.beam and mod_shared_roster_ldap_helpers.beam to the ejabberd ebin directory [3]
  6. restart ejabberd to let it load the module,

_____________________________________________________________________________
[1] If you run a Debian-based system, you should be able to get that easily with just apt-get install dpkg-dev ; apt-get source ejabberd
[2] You need to have the compiler command erlc in your execution PATH variable, or specify the full path to erlc. In Windows it will be something like "c:\Program Files\Erl5.6.5\bin\erlc.exe"
[3] this will be something like /usr/lib/ejabberd/ebin or lib/ejabberd-your-version/ebin/ depending on your system.

А так же:

Русские полные имена в mod_shared_roster_ldap и AD
mod_shared_roster_ldap 0.5.3 Shared Roster LDAP Documentation

Запись опубликована в рубрике ejabberd, Linux, Компы. Добавьте в закладки постоянную ссылку.