[ejabberd] Bug : Ejabberd & LDAP

Martin Galoneas galoneas at mail.com
Tue Jul 20 20:06:13 MSD 2004


Hi,
I'm actually testing an Ejabberd server (cvs-version) using LDAP for authentification.

I have created multiple user accounts on a Psi profile. When I try to connect the whole profile, some accounts (1 or 2) are Online and after that the server crashes.

I don't understand why this is happening ... I hope the following log file will help you

Cheers
MG


ejabberd.log :
--------------

=INFO REPORT==== 2004-07-20 17:59:17 ===
I(<0.238.0>:ejabberd_listener:89): (#Port<0.334>) Accepted connection {{127,0,0,1},34458} -> {{127,0,0,1},5222}

=INFO REPORT==== 2004-07-20 17:59:17 ===
I(<0.238.0>:ejabberd_listener:89): (#Port<0.397>) Accepted connection {{127,0,0,1},34459} -> {{127,0,0,1},5222}

=INFO REPORT==== 2004-07-20 17:59:17 ===
I(<0.238.0>:ejabberd_listener:89): (#Port<0.400>) Accepted connection {{127,0,0,1},34460} -> {{127,0,0,1},5222}

=INFO REPORT==== 2004-07-20 17:59:17 ===
I(<0.306.0>:ejabberd_c2s:256): (#Port<0.397>) Accepted legacy authentification for ttest3 at localhost/Psi

=INFO REPORT==== 2004-07-20 17:59:17 ===
I(<0.309.0>:ejabberd_c2s:256): (#Port<0.400>) Accepted legacy authentification for ttest at localhost/Psi

=ERROR REPORT==== 2004-07-20 17:59:22 ===
** State machine eldap_ejabberd terminating 
** Last message in was {timeout,#Ref<0.0.0.1673>,{cmd_timeout,3}}
** When State == active
**      Data  == {eldap,3,
                        ["localhost"],
                        "localhost",
                        389,
                        #Port<0.317>,
                        [],
                        [],
                        6,
                        #Fun<eldap.0.107797513>,
                        #Ref<0.0.0.1549>,
                        {dict,1,
                              16,
                              16,
                              8,
                              80,
                              48,
                              {[],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               [],
                               []},
                              {{[],
                                [[3,
                                  {#Ref<0.0.0.1673>,
                                   {<0.303.0>,#Ref<0.0.0.1672>},
                                   searchRequest}]],
                                [],
                                [],
                                [],
                                [],
                                [],
                                [],
                                [],
                                [],
                                [],
                                [],
                                [],
                                [],
                                [],
                                []}}},
                        0}
** Reason for termination = 
** {{case_clause,{ok,[{#Ref<0.0.0.1673>,
                       {<0.303.0>,#Ref<0.0.0.1672>},
                       searchRequest}]}},
    [{eldap,cmd_timeout,3},
     {eldap,handle_info,3},
     {gen_fsm,handle_msg,7},
     {proc_lib,init_p,5}]}

=ERROR REPORT==== 2004-07-20 17:59:22 ===
** State machine <0.303.0> terminating 
** Last event in was {xmlstreamelement,
                         {xmlelement,"iq",
                                     [{"type","set"},
                                      {"id","auth_2"},
                                      {"to","localhost"}],
                                     [{xmlcdata,"\n"},
                                      {xmlelement,
                                          "query",
                                          [{"xmlns","jabber:iq:auth"}],
                                          [{xmlcdata,"\n"},
                                           {xmlelement,
                                               "username",
                                               [],
                                               [{xmlcdata,"ttest2"}]},
                                           {xmlcdata,"\n"},
                                           {xmlelement,
                                               "password",
                                               [],
                                               [{xmlcdata,"test2"}]},
                                           {xmlcdata,"\n"},
                                           {xmlelement,
                                               "resource",
                                               [],
                                               [{xmlcdata,"Psi"}]},
                                           {xmlcdata,"\n"}]},
                                      {xmlcdata,"\n"}]}}
** When State == wait_for_auth
**      Data  == {state,#Port<0.334>,
                        <0.304.0>,
                        gen_tcp,
                        "661035646",
                        undefined,
                        c2s,
                        c2s_shaper,
                        false,
                        undefined,
                        [],
                        "localhost",
                        [],
                        {0,nil},
                        {0,nil},
                        {0,nil},
                        {0,nil},
                        undefined,
                        undefined,
                        undefined,
                        false,
                        none,
                        []}
** Reason for termination = 
** {timeout,{gen_fsm,sync_send_event,
                     [eldap_ejabberd,
                      {search,{eldap_search,
                                  wholeSubtree,
                                  "dc=jabber,dc=galoneas,dc=com",
                                  {equalityMatch,
                                      {'AttributeValueAssertion',
                                          "uid",
                                          "ttest2"}},
                                  [],
                                  false,
                                  0}}]}}

-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm



More information about the ejabberd mailing list