Topic: iRedMail + ejabberd + mod_shared_rooster_ldap
Hi,
this is rather a question about iredmail, but about the LDAP server used by iredmail.
This is what I want to achieve:
I'm running iRedMail with several domains which are administrated using the iRedAdmin backend. There is an ejabberd Server which uses ldap authentication to auth users against the ldap server, which works pretty well (there is one ejabberd server for all available domains; users can add each other regardless to which domain they belong).
I want to use the mod 'mod_shared_roster_ldap' so that everybody has everybody else in his user list grouped by the domains and doesn't have to add and auth each other.
I tried a lot of configs for it, but I'm not able to get it running. My last version is this, which won't fire any errors in the ejabberd log but also won't work:
{mod_roster, []},
%%{mod_service_log,[]},
%%{mod_shared_roster,[]},
{mod_shared_roster_ldap, [
{ldap_base, "o=domains,dc=X,dc=Y,dc=Z,dc=eu"},
{ldap_filter, "(objectClass=*)"},
{ldap_ufilter,"(&(objectClass=mailUser)(accountStatus=active)(cn=*))"},
{ldap_rfilter, "(objectClass=inetOrgPerson)"},
{ldap_groupattr,"cn"},
{ldap_groupdesc,"description"},
{ldap_memberattr,"memberUid"},
{ldap_memberattr_format,"%u"},
{ldap_useruid, "uid"},
{ldap_userdesc,"cn"}]},
Hopefull you can help me a bit Perhaps I'm missing something...
Thanks a lot!
==== Required information ====
- iRedMail version: v1.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: ubuntu 12.04.2 LTS
- Related log if you're reporting an issue:
====
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.