質問
私ejabberdサーバーで、地方に遠方のオンラインにfoobar.com.
使用xmpp libdrmコンソールで送信iq stanzas用試験:
現地サーバー ホスト名はeepc
<iq to='eeepc' from='greg@eeepc' id='get-registred-users-num-1' type='set'>
<command xmlns='http://jabber.org/protocol/commands' action='execute' node='http://jabber.org/protocol/admin#get-registered-users-num'/>
</iq>
<iq from='eeepc' to='greg@eeepc/3493331071251540036345753' id='get-registred-users-num-1' type='result'>
<command xmlns='http://jabber.org/protocol/commands' sessionid='2009-08-29T14:01:55.714639Z' node='http://jabber.org/protocol/admin#get-registered-users-num' status='completed'>
<x xmlns='jabber:x:data'>
<field type='hidden' var='FORM_TYPE'>
<value>http://jabber.org/protocol/admin</value>
</field>
<field type='text-single' label='Number of registered users' var='registeredusersnum'>
<value>7</value>
</field>
</x>
</command>
</iq>
遠隔のサーバー
<iq to='foobar.com' from='greg@foobar.com' id='get-registred-users-num-1' type='set'>
<command xmlns='http://jabber.org/protocol/commands' action='execute' node='http://jabber.org/protocol/admin#get-registered-users-num'/>
</iq>
<iq from='foobar.com' to='greg@foobar.com/36523779951251567671615394' id='get-registred-users-num-1' type='error'>
<command xmlns='http://jabber.org/protocol/commands' action='execute' node='http://jabber.org/protocol/admin#get-registered-users-num'/>
<error code='404' type='cancel'>
<item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</iq>
かわからないかを取得しますが、この動きをタイムリーかつ詳細に特定のオプションのよく受け入れコマンドからのリモート?
解決
か mod_configure
なされていませんの遠隔サーバーです。確認できますよ lists:member(mod_configure, gen_mod:loaded_modules("foobar.com")).
にejabberd管理しています。私は想像できないこと一体になっているのがナワーダ-マモーン,遠隔ユーザがs2sの接続が必要とfoobar.com やgreg@foobar.com.
他のヒント
探し のmod_configure.erlのソースコード があるようでACLよって実行されていることを確認の設定を特別コマンドの場合に限り認められるべきは、依頼者はユーザーアカウントを設定し私たースのバーチャルホストをしますデフォルトでいかないようになりましたよ。
acl:match_rule(LServer, configure, From)
きを追加する必要があるような...
{access, configure, [{allow, greg@foobar.com}]}.
...おejabberd.cfgファイルです。
所属していません StackOverflow