[ejabberd] Limiting groups with mod_shared_roster_ldap
ggozad at jarn.com
Fri Mar 16 17:00:00 MSK 2012
We would like to use mod_shared_roster_ldap in a large installation with a lot of users grouped in small teams represented by ldap groups.
When obtaining the roster through ejabberd, we always get ALL the groups regardless whether the user is a member of the group. We fought a lot with the configuration only to figure out that also the example in the ejabberd guide works in the same way, i.e. all groups are returned regardless of the user's membership.
Is there a way to restrict the query to only return groups that the user is a member of?
Here is our configuration:
with the dn for the groups looking like:
and the dn for a user:
myappPerson and myappGroup are subclasses of inetOrgPerson and groupOfNames respectively.
Thank you in advance,
More information about the ejabberd