Reopening the bug. The exact details can be found here: http://www.ejabberd.im/node/3796 . This is the exact problem:

Let us say there exists a valid SRG 'group1' which has as one of its displayed groups an entry which is not a SRG. Then adding a user to this 'group1' throws the error as shown below.

$ ejabberdctl srg_user_add 'admin' 'example.net' 'group1' 'example.net'
Problem 'error {case_clause,false}' occurred executing the command.
Stacktrace: [{mod_shared_roster,get_group_users,2},
{mod_shared_roster,push_members_to_user,5},
{mod_shared_roster,'-push_displayed_to_user/5-lc$^0/1-0-',5},
{mod_shared_roster,add_user_to_group,3},
{mod_admin_extra,srg_user_add,4},
{ejabberd_ctl,call_command,3},
{ejabberd_ctl,try_call_command,3},
{ejabberd_ctl,process2,3}]

I am not sure if this could be considered a bug but as far as I remember this problem did not occur with the previous versions. Also the upstream author was not able to reproduce this issue which means that this behaviour could have been because of one of the applied patches.


On Monday 14 December 2009 01:56 PM, Rahul Amaram wrote:
I have identified the problem. It was a small bug in the script which I was using to add shared roster groups. This bug may be closed.

On Monday 14 December 2009 01:37 PM, Rahul Amaram wrote:
I am sorry the bug got submitted before I could give the detailed report. Anyway, this is the problem.

$ ejabberdctl srg_user_add 'admin' 'example.net' '10000' 'example.net'
Problem 'error {case_clause,false}' occurred executing the command.
Stacktrace: [{mod_shared_roster,get_group_users,2},
             {mod_shared_roster,push_members_to_user,5},
{mod_shared_roster,'-push_displayed_to_user/5-lc$^0/1-0-',5},
             {mod_shared_roster,add_user_to_group,3},
             {mod_admin_extra,srg_user_add,4},
             {ejabberd_ctl,call_command,3},
             {ejabberd_ctl,try_call_command,3},
             {ejabberd_ctl,process2,3}]

Kindly note that my ejabberd is patched with gssapi support and uses ldap authentication with mysql backend. Is there anything which you can infer immediately from the error message?

Regards,
Rahul.


On Saturday 12 December 2009 09:00 PM, Rahul Amaram wrote:
Package: ejabberd
Version: 2.1.0-1+scs1
Severity: normal



-- System Information:
Debian Release: 5.0.1
   APT prefers stable
   APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ejabberd depends on:
ii adduser 3.110 add and remove users and groups ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy ii erlang-base [erlang-ab 1:13.b.2.1-dfsg-1 Erlang/OTP virtual machine and bas ii erlang-nox 1:13.b.2.1-dfsg-1 Erlang/OTP applications that don't ii libc6 2.7-18 GNU C Library: Shared libraries ii libexpat1 2.0.1-4 XML parsing C library - runtime li ii libpam0g 1.0.1-5+lenny1 Pluggable Authentication Modules l
ii  libssl0.9.8            0.9.8g-15+lenny5  SSL shared libraries
ii openssl 0.9.8g-15+lenny1 Secure Socket Layer (SSL) binary a ii ucf 3.0016 Update Configuration File: preserv ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages ejabberd recommends:
ii imagemagick 7:6.3.7.9.dfsg2-1~lenny3 image manipulation programs

Versions of packages ejabberd suggests:
ii libunix-syslog-perl 1.1-2 Perl interface to the UNIX syslog(

-- debconf information:
   ejabberd/nomatch:
   ejabberd/user:
   ejabberd/hostname: localhost








--
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