Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
jshamid #1
Member since Feb 2007 · 30 posts
Group memberships: Members
Show profile · Link to this post
Subject: Changing password
Is there any provison to change to user password from the messenger. please help me.
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Yes,
if you are connected you can change your password with the ChangePassword function of XmppClientConnection.
This feature is not supported by all servers.

Alex
Avatar
jshamid #3
Member since Feb 2007 · 30 posts
Group memberships: Members
Show profile · Link to this post
When i trying to change the password i could not do it. But i am get this

RECV: <iq xmlns="jabber:client" from="gsrv" to="test@localhost/MiniClient" type="error" id="agsXMPP_5"><error code="404" type="cancel"><remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error><query xmlns="jabber:iq:register"><username>XXXtXXX</username><password>XX123XXX</password></query></iq>
Avatar
Alex #4
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
this looks like an s2s error.  Please post your complete debug. The from and 2 addresses i your debug look strange.

Alex
Avatar
jshamid #5
Member since Feb 2007 · 30 posts
Group memberships: Members
Show profile · Link to this post
I have posted the complete dubug as per your request

SEND: <stream:stream to='localhost' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
RECV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="localhost" id="bo6j5bkkcj3suharq1dfgdxq2frsg8ysw5b1gwmt" >
RECV: <stream:features xmlns:stream="http://etherx.jabber.org/streams"><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism></mechanisms></stream:features>
SEND: <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="DIGEST-MD5" />
RECV: <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09ImxvY2FsaG9zdCIsbm9uY2U9IjhmNjNkMzlkZDNlZjA2MWNjMzFlMDAyYjg2MDZhY2I4NTc4OWRkNjUiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
SEND: <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dXNlcm5hbWU9InRlc3QiLHJlYWxtPSJsb2NhbGhvc3QiLG5vbmNlPSI4ZjYzZDM5ZGQzZWYwNjFjYzMxZTAwMmI4NjA2YWNiODU3ODlkZDY1Iixjbm9uY2U9ImZiNjQxY2IyMTRhNDU2ZGM1ZjYzNmJiYWI2MWQ5Mzk1N2YwZGVkMDdmYWQyNjE5MDBjOTYyNzRkN2M4NjNiZjgiLG5jPTAwMDAwMDAxLHFvcD1hdXRoLGRpZ2VzdC11cmk9InhtcHAvZ3NydiIsY2hhcnNldD11dGYtOCxyZXNwb25zZT1mYzJmMjE4MWEyN2NlZmQyOWQ3OWJhYzc2OWE4MmQ4MQ==</response>
RECV: <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD1kODgzOGE4ZWIyM2EyZDgyNzY0NzIzOWYzZDc1MGUyZQ==</challenge>
SEND: <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl" />
RECV: <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl" />
SEND: <stream:stream to='localhost' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
RECV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="localhost" id="2l6mlt40v18a4bf31s8d6ehwotup8h7a2dwo71o3" >
RECV: <stream:features xmlns:stream="http://etherx.jabber.org/streams"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind" /><session xmlns="urn:ietf:params:xml:ns:xmpp-session" /></stream:features>
SEND: <iq xmlns="jabber:client" id="agsXMPP_1" type="set" to="gsrv"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>MiniClient</resource></bind></iq>
RECV: <iq xmlns="jabber:client" id="agsXMPP_1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>test@localhost/MiniClient</jid></bind></iq>
SEND: <iq xmlns="jabber:client" id="agsXMPP_2" type="set" to="gsrv"><session xmlns="urn:ietf:params:xml:ns:xmpp-session" /></iq>
RECV: <iq xmlns="jabber:client" id="agsXMPP_2" type="result" />
SEND: <presence xmlns="jabber:client"><status /><priority>10</priority></presence>
SEND: <iq xmlns="jabber:client" id="agsXMPP_3" type="get" to="gsrv"><query xmlns="jabber:iq:agents" /></iq>
SEND: <iq xmlns="jabber:client" id="agsXMPP_4" type="get"><query xmlns="jabber:iq:roster" /></iq>
RECV: <iq xmlns="jabber:client" from="gsrv" to="test@localhost/MiniClient" type="error" id="agsXMPP_3"><error code="404" type="cancel"><remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error><query xmlns="jabber:iq:agents" /></iq>
RECV: <iq xmlns="jabber:client" id="agsXMPP_4" type="result"><query xmlns="jabber:iq:roster"><item subscription="both" jid="sreedevi@localhost" name="sreedevi"><group>General</group></item><item subscription="from" jid="babishvb@localhost" /><item subscription="from" jid="shahulhameed@localhost" name="test123"><group>General</group></item></query></iq>
RECV: <presence xmlns="jabber:client" from="sreedevi@localhost/Psi" to="test@localhost/MiniClient">
<x xmlns="jabber:x:delay" from="sreedevi@localhost/Psi" stamp="20070214T04:10:31" /><priority>5</priority>
</presence>
SEND: <iq xmlns="jabber:client" id="agsXMPP_5" type="set" to="gsrv"><query xmlns="jabber:iq:register"><username>test</username><password>test321</password></query></iq>

RECV: <iq xmlns="jabber:client" from="gsrv" to="test@localhost/MiniClient" type="error" id="agsXMPP_5"><error code="404" type="cancel"><remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error><query xmlns="jabber:iq:register"><username>test</username><password>test321</password></query></iq>
Avatar
Alex #6
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
You are connection to localhost and sending all packets to localhost.
But you send the ChangePassword to gsrv. There must be something wrong in your code which causes this problem.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS