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

Tom Lancaster tom at tnhvietnam.com
Thu Jan 5 08:29:00 MSK 2012

On Tue, Jan 3, 2012 at 10:03 PM, Badlop <badlop at gmail.com> wrote:
> 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@

Thanks for your reply. I've done that but I'm still not seeing buddy
lists when I log in. What should I expect to see when I log in if the
roster is working? Do I need to join the group first?

> ---
> Badlop
> ProcessOne
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

More information about the ejabberd mailing list