mod_shared_roster_ldap.erl ejabberd-2.1.0

Hi there.

I need shared roster + ldap.
Can I use http://www.ejabberd.im/mod_shared_roster_ldap with my ejabberd-2.1.0 ??
If answer is - yes. What should I do with this mod_shared_roster_ldap.erl?? I don't know erlang.

Thanks

Probably it can be used with

Probably it can be used with ejabberd 2.1.0.

That file is the source code. So first compile it to obtain a binary mod_shared_roster_ldap.beam, and then you copy that file to the directory where you have all the other ejabberd *.beam files.

How to compile the source code file:
1. Download ejabberd 2.1.0 source code package. Unpack it.
2. Copy mod_shared_roster_ldap.erl to src/
3. Compile the file with this command: erlc mod_shared_roster_ldap.erl
(You don't need to compile all ejabberd, only the file you want)

You can compile in any machine, only make sure you use the same Erlang version that your ejabberd.

thank you very much. very

thank you very much.
very helpful answer.

Syndicate content