Модуль для 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
- you need an Erlang runtime and compiler installation, they probably come together — check whether you have the
erlanderlccommands. You should probably use the same (or close enough) erlang compiler version as the one which was used to compile your binary ejabberd installation. - 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],
- 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
- compile the modules by running the following in a terminal [2]:
erlc mod_shared_roster_ldap.erl erlc mod_shared_roster_ldap_helpers.erl
- copy the resulting mod_shared_roster_ldap.beam and mod_shared_roster_ldap_helpers.beam to the ejabberd ebin directory [3]
- restart
ejabberdto 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

