<test-history test='VHost 4'>
<OUTPUT test='VHost 4'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='VHost 4'>
<stream:stream id="c7a41ec9-8316-4442-af31-10bb47f6ea48" xmlns="jabber:client" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xml:lang="en" from="test-d"/>
</INPUT>
<INPUT test='VHost 4'>
<stream:features><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='VHost 4'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsbC14bXBwLXRlc3QAYWxsLXhtcHAtdGVzdC1wYXNzd29yZA==</auth>
</OUTPUT>
<INPUT test='VHost 4'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>
</INPUT>
<OUTPUT test='VHost 4'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='VHost 4'>
<stream:stream id="c7a41ec9-8316-4442-af31-10bb47f6ea48" xmlns="jabber:client" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xml:lang="en" from="test-d"/>
</INPUT>
<INPUT test='VHost 4'>
<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"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='VHost 4'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='VHost 4'>
<iq id="bind1" to="all-xmpp-test@test-d/def-user-resource" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>all-xmpp-test@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='VHost 4'>
<iq id="aacaa" to="vhost-man@test-d" type="set">
<command xmlns="http://jabber.org/protocol/commands" node="VHOSTS_REMOVE"/></iq>
</OUTPUT>
<INPUT test='VHost 4'>
<iq id="aacaa" to="all-xmpp-test@test-d/def-user-resource" from="vhost-man@test-d" type="error"><command xmlns="http://jabber.org/protocol/commands" node="VHOSTS_REMOVE"/><error code="401" type="auth"><not-authorized xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en">You are not authorized for this action.</text></error></iq>
</INPUT>

</test-history>