tag 611307 +moreinfo
thanks

On Thu, Jan 27, 2011 at 09:43:21PM +0000, ian wrote:

> We've been using 'ejabberdctl srg_*' to populate our shared rosters
> from LDAP. Our script successfully populates the shared roster group
> (can be comfirmed with a mnesia dump or by looking at the web
> interface), however, the shared roster members are not visible via an
> XMPP client -unless- the members are added while the client is
> actually logged in.
> 
> I can demonstrate this by looking at the mnesia dump (shows a full
> list of users for example.com) and logging in via an XMPP client: The
> shared roster doesn't exist. Now I 'ejabberdctl srg-user-add SOMETHING
> example.com example.com example.com' (which shows up as an ordinary
> line in the mneisa dump
> '{sr_user,{"SOMETHING","example.com"},{"example.com","example.com"}}.'.
> Suddenly I have a roster group with only one member (SOMETHING) in my
> XMPP client. If I log out and back in the roster group vanishes.

I cannot reproduce this.
I did a fresh install or ejabberd in a squeeze sandbox, configured it to
serve the "localhost" domain and added an admin user "kostix",
then I enabled mod_shared_roster and restarted the server.
Then I did:
# ejabberdctl srg-create test localhost Test 'A test group' test
# ejabberdctl srg-user-add kostix localhost test localhost
# ejabberdctl srg-user-add vasya localhost test localhost

Then I connected to the server using Tkabber and got the roster with the
said group "Test" and one user "vasya@localhost" in it, as expected.

I then enabled in-band registration, restarted the server and registered
that vasya@localhost user; after logging in it got the shared roster
with the group "Test" and the user "kostix@localhost" in it, again,
as expected.

> Is there any other information that I could collect that would help
> with this?
I don't know for sure. I have contacted upstream about this, and they
are unaware of issues like this.
Also I'm a heavy user of shared rosters on my corporate server, and they
work OK (Squeeze/ejabberd 2.1.5-3).

Anyway, a couple of idea to try:
* Does this problem also happen when you use web admin interface?
* Does this happen with different XMPP clients?
* Are you sure nothing interferes with the SRG management?
  I mean, like you having mod_shared_roster_ldap installed (crazy idea,
  but still).
* What if you play with your server in some clean-room environment (say,
  do a fresh install in a chroot, configure LDAP auth, enable
  mod_shared_roster and then try out creating groups).




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to