<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><a class="moz-txt-link-freetext" href="http://www.ejabberd.im/ejabberd_xmlrpc">http://www.ejabberd.im/ejabberd_xmlrpc</a>
      There are some php-examples how to provide auth information, may
      be it help.<br>
      <br>
      Another way:<br>
      Delete <br>
          access_commands:<br>
                configure:<br>
                  all: []<br>
      these derectives from your config file and add ip: "127.0.0.1" or
      disable access to xmlrpc port via firewall.<br>
      <br>
      In our installation we don't use authorization for xmlrpc module,
      just firewalled it.<br>
      <br>
      01.09.2014 20:37, Jiejing.Zhang пишет:<br>
    </div>
    <blockquote
cite="mid:CACrgxGB8Eeb9C7sPz9R5w4fwZ6AfJiwzMn3S-XvWUMKmUaJrXg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>I have an issue when using ejabberd 14.07 (latest, also
          13.02) do some ejabberd and xml_rpc to build my application. </div>
        <div><br>
        </div>
        <div>I can use xmlrpc to list user's roster when I development
          on Mac(14.07), but when I deployment it to Ubuntu server, I
          cannot get the correct result back from xmlrpc.</div>
        <div><br>
        </div>
        <div>The error message is like:</div>
        <div><br>
        </div>
        <div>`2014-08-19 05:15:47.159 [error] <0.545.0>
          {xmlrpc_http,171,{ejabberd_xmlrpc,handler,{'EXIT',{{badmatch,no_auth_provided},[{ejabberd_commands,check_access,2,[{file,"src/ejabberd_commands.erl"},{line,402}]},{ejabberd_commands,'-check_access_commands/5-fun-0-',5,[{file,"src/ejabberd_commands.erl"},{line,373}]},{lists,'-filter/2-lc$^0/1-0-',2,[{file,"lists.erl"},{line,1271}]},{ejabberd_commands,check_access_commands,5,[{file,"src/ejabberd_commands.erl"},{line,371}]},{ejabberd_commands,execute_command,4,[{file,"src/ejabberd_commands.erl"},{line,308}]},{ejabberd_xmlrpc,do_command,6,[{file,"src/ejabberd_xmlrpc.erl"},{line,350}]},{ejabberd_xmlrpc,try_do_command,6,[{file,"src/ejabberd_xmlrpc.erl"},{line,313}]},{xmlrpc_http,eval_payload,7,[{file,"src/xmlrpc_http.erl"},{line,166}]}]}}}}
          `<br>
        </div>
        <div>
          <div><br>
          </div>
          <div>And I have checked the source code, and I found it seems
            caused by the execute_command require an auth information. </div>
          <div><br>
          </div>
          <div>But I don't know how to pass auth information in xml_rpc,
            also I don't find any example by google. </div>
          <div><br>
          </div>
          <div>I have posted my entire config & error log  &
            test script in <a moz-do-not-send="true"
              href="https://github.com/processone/ejabberd/issues/279">https://github.com/processone/ejabberd/issues/279</a></div>
          <div><br>
          </div>
          <div>But I don't get response for about 2 weeks.</div>
          <div><br>
          </div>
          <div>Could some one give some tip on this issue.</div>
          <div><br>
          </div>
          <div>Thanks,</div>
          <div>Jiejing</div>
          <div><br>
            Best regards,<br>
            Zhang Jiejing</div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ejabberd mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ejabberd@jabber.ru">ejabberd@jabber.ru</a>
<a class="moz-txt-link-freetext" href="http://lists.jabber.ru/mailman/listinfo/ejabberd">http://lists.jabber.ru/mailman/listinfo/ejabberd</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Wbr,

Vladimir Stafievsky
</pre>
  </body>
</html>