<test-history test='AdminAdHoc sess-man_3_3 (c2s)'>
<OUTPUT test='AdminAdHoc sess-man_3_3 (c2s)'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-domain' version='1.0'/>
</OUTPUT>
<INPUT test='AdminAdHoc sess-man_3_3 (c2s)'>
<stream:stream xmlns="jabber:client" version="1.0" xml:lang="en" id="de17597c-6609-4c11-839e-7da2ef8a79b2" xmlns:stream="http://etherx.jabber.org/streams" from="test-domain"/>
</INPUT>
<INPUT test='AdminAdHoc sess-man_3_3 (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 sess-man_3_3 (c2s)'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGRvbWFpbi1hZG1pbgBhbGwteG1wcC10ZXN0LXBhc3N3b3Jk</auth>
</OUTPUT>
<INPUT test='AdminAdHoc sess-man_3_3 (c2s)'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>
</INPUT>
<OUTPUT test='AdminAdHoc sess-man_3_3 (c2s)'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-domain' version='1.0'>
</OUTPUT>
<INPUT test='AdminAdHoc sess-man_3_3 (c2s)'>
<stream:stream xmlns="jabber:client" version="1.0" xml:lang="en" id="de17597c-6609-4c11-839e-7da2ef8a79b2" xmlns:stream="http://etherx.jabber.org/streams" from="test-domain"/>
</INPUT>
<INPUT test='AdminAdHoc sess-man_3_3 (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 sess-man_3_3 (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 sess-man_3_3 (c2s)'>
<iq xmlns="jabber:client" to="domain-admin@test-domain/def-user-resource" type="result" id="bind1"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>domain-admin@test-domain/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='AdminAdHoc sess-man_3_3 (c2s)'>
<iq to="sess-man@test-domain" type="set" id="user-roster-management" from="domain-admin@test-domain/def-user-resource">
<command xmlns="http://jabber.org/protocol/commands" node="user-roster-management"/></iq>
</OUTPUT>
<INPUT test='AdminAdHoc sess-man_3_3 (c2s)'>
<iq to="domain-admin@test-domain/def-user-resource" type="result" id="user-roster-management" from="sess-man@test-domain"><command xmlns="http://jabber.org/protocol/commands" node="user-roster-management" status="executing"><x xmlns="jabber:x:data" type="form"><field type="jid-single" label="Roster owner JID" var="rosterOwnerJID"><value/></field><field type="jid-single" label="JID to manipulate" var="jidToManipulate"><value/></field><field type="text-single" label="Comma separated groups" var="groups"><value/></field><field type="list-single" label="Operation type" var="operationType"><value>addJid</value><option label="Add"><value>addJid</value></option><option label="Remove"><value>removeJid</value></option></field><field type="list-single" label="Subscription type" var="subscriptionType"><value>both</value><option label="None"><value>none</value></option><option label="From"><value>from</value></option><option label="To"><value>to</value></option><option label="Both"><value>both</value></option></field></x><actions execute="complete"><complete/></actions></command></iq>
</INPUT>
<OUTPUT test='AdminAdHoc sess-man_3_3 (c2s)'>
<iq to="sess-man@test-domain" type="set" id="user-roster-management" from="domain-admin@test-domain/def-user-resource">
<command xmlns="http://jabber.org/protocol/commands" node="user-roster-management">
<x xmlns="jabber:x:data" type="submit">
<field type="jid-single" var="rosterOwnerJID">
<value>all-xmpp-test@test-d</value></field><field type="jid-single" var="jidToManipulate">
<value>admin@test-domain</value></field><field type="text-single" var="groups">
<value>group1</value></field><field type="list-single" var="operationType">
<value>addJid</value></field><field type="list-single" var="subscriptionType">
<value>both</value></field></x></command></iq>
</OUTPUT>
<INPUT test='AdminAdHoc sess-man_3_3 (c2s)'>
<iq to="domain-admin@test-domain/def-user-resource" type="result" id="user-roster-management" from="sess-man@test-domain"><command xmlns="http://jabber.org/protocol/commands" node="user-roster-management" status="completed"><x xmlns="jabber:x:data" type="result"><field type="fixed" var="Error"><value>You do not have enough permissions to modify roster of all-xmpp-test@test-d</value></field></x></command></iq>
</INPUT>

</test-history>