We have authentication against LDAP working fine.
Now we're trying to get mod_shared_roster_ldap working so our employees get a company roster grouped by department (how we currently have it with OpenFire, which we're looking to migrate from). I see that ejabberd is successfully querying the ldap database for users & groups (we see them listed in the ejabberd.log when the server starts up) however when we connect to the server our client doesn't get a roster.
Do we need to configure a roster via the web/admin interface? Before we setup mod_shared_roster_ldap we had configured an "EveryBody" shared roster for the vhost with "@all@" and that worked to show all online users. We have since deleted that shared roster though.
What are we missing to enable the roster for connected users?
our config:
{mod_shared_roster_ldap,[
{ldap_base, "ou=people,dc=ourcompany,dc=com"},
{ldap_rfilter, "(objectClass=inetOrgPerson)"},
{ldap_groupattr, "ou"},
{ldap_memberattr, "cn"},
{ldap_filter, "(objectClass=inetOrgPerson)"},
{ldap_userdesc, "displayName"}
]}
%%
]}.
Do you mean that your
Do you mean that your inetOrgPerson have "ou" attribute?
I am also trying to get this
I am also trying to get this to work. If anyone has any examples on creating a roster via ldap please share!
thanks.
I'm also trying to solve a
I'm also trying to solve a problem. If you have any examples on solving it please share!
Seems like you haven't made a slightest effort to express your question in a comprehendable form, so that others who you address to could spend their time better than trying to guess what would you mean:
If so, how do you expect others to make an effort answering you? (Though I do.)
How To Ask questions The Smart Way is the greatest answer on your question.