mod_shared_roster_ldap - I think I'm almost there.

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:

  • either that you haven't read and comprehend any documentation on the topic so that you think that a random example may solve your specific case;
  • or that you haven't made a simplest search on this site to find plenty of examples available;
  • or that you are just too lazy to describe a really difficult problem you are facing;
  • or that you simply don't want to share your problem to the community so that others could find it and its solution and learn something from it?

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.

Syndicate content