external auth error windows

Dear All,

i have some problem with external auth, i used http://www.ejabberd.im/files/efiles/check_mysql.php.txt
i change config file to

{auth_method, external}.
{extauth_program, "c:\\xampp\\php\\php.exe e:\\ex_authphp.php"}.

and when i restart, log file show me an error like

Error in process <0.2332.0> on node 'ejabberd@localhost' with exit value: {enoent,[{erlang,open_port,[{spawn," c://xampp/php/php.exe e://ex_authphp.php"},[{packet,2}]]},{extauth,init,2}]}
=ERROR REPORT==== 2013-04-23 14:24:25 ===
** State machine <0.2402.0> terminating
** Last event in was {xmlstreamelement,
                         {xmlelement,"auth",
                             [{"xmlns","urn:ietf:params:xml:ns:xmpp-sasl"},
                              {"mechanism","PLAIN"}],
                             [{xmlcdata,
                                  <<"MzUyMDA5MTEAMzUyMDA5MTEAcGFzc3dvcmQ5NTEwMTExMDYyMTI5MjQ5">>}]}}
** When State == wait_for_feature_request
**      Data  == {state,{socket_state,tls,
                                      {tlssock,#Port<0.39416>,#Port<0.39666>},
                                      <0.2401.0>},
                        ejabberd_socket,#Ref<0.0.0.67209>,false,"3017695823",
                        {sasl_state,"jabber","nexian",[],
                                    #Fun<ejabberd_c2s.1.52538782>,
                                    #Fun<ejabberd_c2s.2.77839348>,
                                    #Fun<ejabberd_c2s.3.97921512>,undefined,
                                    undefined},
                        c2s,c2s_shaper,false,true,false,true,
                        [verify_none,
                         {certfile,"C:\\Users\\teguh\\AppData\\Roaming\\ejabberd\\conf\\server.pem"}],
                        false,undefined,[],"nexian",[],undefined,
                        {pres_t,0},
                        {pres_f,0},
                        {pres_a,0},
                        {pres_i,0},
                        undefined,undefined,undefined,false,
                        {userlist,none,[],false},
                        unknown,unknown,
                        {{10,1,24,111},50936},
                        [],[]}
** Reason for termination =
** {badarg,[{extauth,call_port,2},
            {ejabberd_auth_external,check_password_extauth,3},
            {ejabberd_auth,check_password_loop,2},
            {cyrsasl_plain,mech_step,2},
            {cyrsasl,server_step,2},
            {ejabberd_c2s,wait_for_feature_request,2},
            {p1_fsm,handle_msg,10},
            {proc_lib,init_p_do_apply,3}]}

please help me..
i used ejabberd 2.1.11 and erlang R014B

Syndicate content