Looking for ejabberd docs?

[SOLVED !!] mod_shared_roster_ldap

> Could somone using the mod_shared_roster_ldap paste the part of his ejabberd.cfg please ?
> I'm looking for explanations about this modules, but I can't find any.
>
> Thanks

Finally, I got it working with OpenLdap.
After spending some times looking at the debug output of openldap, and trying blindly some parameters in mod_shared_roster_ldap, I figured out how it works.

Here are the parameters :

- ldap_groupattr : This is the attribute that holds the groups names, and that is used to differentiate them. (cn=technical | cn=sales | cn=external)

- ldap_groupdesc : Not used in my case. Whatever was the value, it always worked.

- ldap_memberattr : the attribute that contains the ID of the members of these groups. In my case, my groups are posixGroup objectClass, and with posixGroup, "memberUid" is used to contain the ID of the members.
If you use groupOfName, it should be "member=uid"
If you use groupOfUniqueNames -> "uniqueMember=uid"
Not 100% sure for the 2 lasts, not tried. Have a look at your schemas.

- ldap_filter : The search filter you want to apply. If you don't want it, set "[ldap_memberattr]=*". It is mostly here for outlook ldap schemas compatibility.

Finally, this is pretty sweet because you can create groups with everything. For instance, my users are in :
[location_name],ou=Users,o=E-Group,dc=electronic-group,dc=com
I just have to set ldap_groupattr to the location_name attribute : "l" ; and ldap_memberattr to "uid", and my roster will contains all users of my location.

Drawbacks : A much longer login time. The modules makes a lot of identical ldap search. It takes up to 15 seconds.

Sorry for the bad english.
If you have problems, it is good to use ldapsearch or the phpldapadmin search function, to look at the output of your search criteria.

PS : Now I am looking to display groups that I am not part of (so I could see users that are not in the same location than me for instance)

Thanks for detailed explanation (btw I do not insist to continue this thread in English, you can switch to Russian if it is more comfortable for you :)).
I've configured mod_shared_roster_ldap per your example and wondering if there is something else needed to be done? I do not see any changes to roster or ejabberd web-admin interface of shared roster...
How can I put my group neighbours to my roster now?

Likewise, I did not get any results with "you can create groups with everything" method.
Thanks in advance

Hi bodomizer.
Thanks for purposing Russian to me. I learned it some years ago but can't remember anything :)
Let's continue to english.

Normally, nothing else needs to be done than configuring those 5 parameters, and of course, checking that the ldap server can be reached by the ejabberd one. If you can, run your ldap server in debug mode, and check the output when you login a user.)
I could help you much better if you could post an ldif of your ldap db.
For instance :