1

Topic: ejabbered autolist contacts in IM Client

==== Provide required information to help troubleshoot and get quick answer ====
- iRedMail version:
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
====
Hi Zhang,

We have installed ejabbered-1.2 version in iRedMail-0.7.2 , we have made authentication for ejabber with iredmail LDAP server, we are able to login, but we need to get all users autolist in IM Client. For that we have made entries in ejabbered conf file as below. Not able to get listed all users. Kindly advice.

ejabbered confile:

%% Authentication using LDAP
%%
{auth_method, ldap}.
%%
%% List of LDAP servers:
{ldap_servers, ["localhost"]}.
%%
%% LDAP attribute that holds user ID:

{ldap_uids, [{"mail", "%u@%d"}]}.
%%
%% Search base of LDAP directory:
{ldap_base, "o=domains,dc=safe1,dc=myhostname,dc=com"}.
%%
%% LDAP manager:
{ldap_rootdn, "cn=vmail,dc=safe1,dc=myhostname,dc=com"}.
%%
%% Password to LDAP manager:
{ldap_password, "***********************"}.
{ldap_port, 389}.
{mod_shared_roster_ldap,[
  {ldap_base, "o=domains,dc=safe1,dc=myhostname,dc=com"},
{ldap_rfilter, "(objectClass=*)"},
{ldap_filter, ""},
{ldap_gfilter, "(objectClass=*)"},
{ldap_groupdesc, "description"},
  {ldap_memberattr, "memberUid"},
  {ldap_ufilter, "(objectClass=*)"},
  {ldap_userdesc, "displayName"}
]},

Thanks,
Regards,
Pinemail11

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: ejabbered autolist contacts in IM Client

Dear Pinemail11,

iRedMail doesn't ships Ejabberd, so it's better to ask Ejabberd questions in its official forum or mailing list. Sorry.

P.S. I did a quick Google search, this post may be useful:
http://www.ejabberd.im/node/1317