Shared Roster, mod_cltextra?

What is the best way to push rosters to new users on my ejabberd server? I could only find old or unclear posts regarding this topic. Any links or advice would be greatly appreciated!

Thank you!

Sorry, didn't mean to post

Sorry, didn't mean to post anonymously.

Try Shared Roster first

The Shared Roster Groups feature allows you to define virtual groups in rosters. They are virtual in the sense that the user can't modify them, since the group is defined by you using the ejabberd Web Admin.

Other alternatives are not so sofisticated: mod_ctlextra and other modules or patches (probably written by me) are just little tools that the admin can use to easily add contacts to the rosters stored in the database. This means that the user can later modify those contacts, delete them...

My proposal: if you don't know which solution to use, try the Shared Roster module first. If it meets all your requirements, be happy. Only try other solutions like mod_ctlextra if Shared Roster does not provide you the features you need.

I have gotten the Shared

I have gotten the Shared Roster module installed and it seems to be exactly what I need, yet the clients aren't getting the rosters when they log in.

I entered the usernames as "user@localhost" and "user@domain" and neither seem to work. I've also added @all@ as a username and that doesn't seem to change anything.

set the 'Displayed groups' field

shanepardue wrote:

I entered the usernames as "user@localhost" and "user@domain" and neither seem to work. I've also added @all@ as a username and that doesn't seem to change anything.

Maybe you forgot to properly set the 'Displayed groups' field.

I wasn't aware there was a

I wasn't aware there was a way to improperly set the displayed groups field. Doesn't that field just designate the name of the group on each user's roster?

Syndicate content