[jdev] problem with blocking a user

Ganesh Kundapur ganesh.kundapur at gmail.com
Wed Feb 14 06:02:17 CST 2007


Hi,
  I am  trying to block a user on jabberd2. When i retrive the privacy list
after blocking, its empty.
Please let me know why the privacy list showing empty??

--

SEND:
-----------------------------------
<?xml version='1.0' encoding='UTF-8'?>
-----------------------------------

SEND:
-----------------------------------
<stream:stream xmlns="jabber:client" xmlns:stream="
http://etherx.jabber.org/stre
ams" to="bhdhcp07392.apac.nokia.com" id="4289300225">
-----------------------------------

RECV [186]:
-----------------------------------
'<?xml version='1.0'?><stream:stream xmlns:stream='
http://etherx.jabber.org/stre
ams' xmlns='jabber:client' from='bhdhcp07392.apac.nokia.com'
id='zyg8k36dvkdqr4a
898j9edzllcz42nf2lwb5zhiv'>'
-----------------------------------

SEND:
-----------------------------------
<iq type="get" id="4237604812"> <query xmlns="jabber:iq:auth">
<username>testlm1
23</username>
</query>
</iq>

-----------------------------------

RECV [207]:
-----------------------------------
'<iq xmlns='jabber:client' id='4237604812' type='result'><query
xmlns='jabber:iq
:auth'><username>testlm123</username><resource/><password/><digest/><sequence>49
9</sequence><token>45D0B6D3</token></query></iq>'
-----------------------------------

SEND:
-----------------------------------
<iq type="set" id="4319606173"> <query xmlns="jabber:iq:auth">
<username>testlm1
23</username>
 <digest>2c8ac400f757c44cbef4748e91c385d2b8279fa2</digest>
 <resource>hi</resource>
</query>
</iq>

-----------------------------------

RECV [57]:
-----------------------------------
'<iq xmlns='jabber:client' id='4319606173' type='result'/>'
-----------------------------------

SEND:
-----------------------------------
<presence id="151601152622"></presence>

-----------------------------------

SEND:
-----------------------------------
<iq type="set" id="151557162049"> <query xmlns="jabber:iq:privacy"> <list
name="
Example"> <item order="3" action="deny" jid="
ganesh.kundapur at bhdhcp07392.apac.no
kia.com" xmlns="jabber:iq:privacy"></item>
</list>
</query>
</iq>

-----------------------------------

SEND:
-----------------------------------
<iq type="get" id="151614162617"> <query xmlns="jabber:iq:privacy"> <list
name="
Example"></list>
</query>
</iq>

-----------------------------------

RECV [59]:
-----------------------------------
'<iq xmlns='jabber:client' id='151557162049' type='result'/>'
-----------------------------------

RECV [163]:
-----------------------------------
'<iq xmlns='jabber:client' id='151614162617' type='result'><query
xmlns='jabber:iq:privacy'><list name='Example'><item order='3'
action='deny'/></list></query></iq>'
-----------------------------------

SEND:
-----------------------------------
</stream:stream>
-----------------------------------
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20070214/1fef2dbc/attachment-0002.htm>


More information about the JDev mailing list