<test-history test='AdminAdHoc s2s_3_1 (c2s)'>
<OUTPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<stream:stream xmlns="jabber:client" version="1.0" xml:lang="en" id="b5429cbd-a2f3-4324-abb2-af4c6af5d683" xmlns:stream="http://etherx.jabber.org/streams" from="test-d"/>
</INPUT>
<INPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<stream:features><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></stream:features>
</INPUT>
<OUTPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFkbWluAHN0YXRz</auth>
</OUTPUT>
<INPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>
</INPUT>
<OUTPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<stream:stream xmlns="jabber:client" version="1.0" xml:lang="en" id="b5429cbd-a2f3-4324-abb2-af4c6af5d683" xmlns:stream="http://etherx.jabber.org/streams" from="test-d"/>
</INPUT>
<INPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features>
</INPUT>
<OUTPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<iq xmlns="jabber:client" to="admin@test-d/def-user-resource" type="result" id="bind1"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>admin@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<iq to="s2s@test-d" type="set" id="s2s-get-cid-connection" from="admin@test-d/def-user-resource">
<command xmlns="http://jabber.org/protocol/commands" node="s2s-get-cid-connection"/></iq>
</OUTPUT>
<INPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<iq to="admin@test-d/def-user-resource" type="result" id="s2s-get-cid-connection" from="s2s@test-d"><command xmlns="http://jabber.org/protocol/commands" node="s2s-get-cid-connection" status="executing"><x xmlns="jabber:x:data" type="form"><title>Get S2S connection state</title><instructions>Fill out this form to get S2S connection state</instructions><field type="hidden" var="FORM_TYPE"><value>http://jabber.org/protocol/admin</value></field><field type="text-single" label="S2S connection CID" var="cid"><value/></field></x><actions execute="complete"><complete/></actions></command></iq>
</INPUT>
<OUTPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<iq to="s2s@test-d" type="set" id="s2s-get-cid-connection" from="admin@test-d/def-user-resource">
<command xmlns="http://jabber.org/protocol/commands" node="s2s-get-cid-connection">
<x xmlns="jabber:x:data" type="submit">
<field type="hidden" var="FORM_TYPE">
<value>http://jabber.org/protocol/admin</value></field><field type="text-single" var="cid">
<value>test-domain@test-d</value></field></x></command></iq>
</OUTPUT>
<INPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<iq to="admin@test-d/def-user-resource" type="result" id="s2s-get-cid-connection" from="s2s@test-d"><command xmlns="http://jabber.org/protocol/commands" node="s2s-get-cid-connection" status="completed"><x xmlns="jabber:x:data" type="result"><field type="text-multi" var="S2S connection"><value>No such CID connection found</value></field></x></command></iq>
</INPUT>

</test-history>