[ejabberd] Shared Roster / Groups with External Authentication: Possible?

Badlop badlop at gmail.com
Tue Jan 3 19:03:33 MSK 2012


2012/1/3 Tom Lancaster <tom at tnhvietnam.com>:
> Esteemed list members,
>
> I have been wracking my brain and reading everything I can to
> establish whether I can accomplish the following using ejabberd:
>
> 1) Everyone in a shared roster (ie: all users of my website can see
> each other through an xmpp client)
> 2) Roster groups pre-set through the web interface
>
> I am authenticating users against my web application, which is a
> community site with interest groups and a group of moderators. I use
> an external auth script to do this.
>
> I have tried setting up roster groups through the web interface,
> specifically, I've tried to add all the moderator usernames to a
> "mods" group. When I log in via iChat or Adium as one of these users I
> expect to see a list of the other users; I don't see any contacts.
>
> I understand that ejabberd would need to have a list of "all users"
> specified in order to be able to feed them as a roster to others. I've
> seen references to doing this for LDAP using ejabberdctl. Is there a
> way to accomplish the same for my web app's user list?

Set this in ejabberd.cfg
  {extauth_cache, 0}.
and ejabberd will take note of which accounts are accepted by your
extautj script.

Those accounts will be included in shared roster groups that have member @all@


---
Badlop
ProcessOne


More information about the ejabberd mailing list