Continuing from previous post, after sorting out the strange error I got a new one.
I attached Pidgin's debug window output.
Error is in line 72: "Invalid response from server"

It seems it's due to line 69: server is returning just
<jid>/work</jid>
instead of the full JID
<jid>usert@192.168.1.2/work</jid>

For this I did have to ask for an opinion in the XMPP community.
Of course I didn't expect something given how specific all of this is. However I think I may have run with luck.

Someone there mentioned:
Here:
http://code.citadel.org/?p=citadel.git;a=blob;f=citadel/user_ops.c;hb=6fa6542eb4a8f390488f2a453baec1bf8de1a1fb#l649
CC->cs_inet_email    looks empty, only unless using an LDAP database?

What if uncommenting lines 663-668 in order to obtain a FQDN and JID for XMPP becomes complete?

I'll try playing with the source code as you suggested, but I must say I feel very insecure. TBH I've never ever build something from source.

Hope you could take a look at this meanwhile, IG.

1   (17:09:50) autorecon: do_signon called
2   (17:09:50) autorecon: calling purple_account_connect
3   (17:09:50) account: Account usert@192.168.1.2/work not enabled, not 
connecting.
4   (17:09:50) autorecon: done calling purple_account_connect
5   (17:09:52) util: Writing file prefs.xml to directory 
C:\Users\macros\Desktop\PidginPortable\Data\settings\.purple
6   (17:09:52) util: Writing file 
C:\Users\macros\Desktop\PidginPortable\Data\settings\.purple\prefs.xml
7   (17:09:53) account: Connecting to account usert@192.168.1.2/work.
8   (17:09:53) connection: Connecting. gc = 04BAEA08
9   (17:09:53) dnssrv: querying SRV record for 192.168.1.2: 
_xmpp-client._tcp.192.168.1.2
10  (17:09:53) dnssrv: Couldn't look up SRV record. El nombre de archivo, el 
nombre de directorio o la sintaxis de la etiqueta del volumen no son correctos. 
(123).
11  (17:09:53) dnsquery: Performing DNS lookup for 192.168.1.2
12  (17:09:53) dnsquery: IP resolved for 192.168.1.2
13  (17:09:53) proxy: Attempting connection to 192.168.1.2
14  (17:09:53) proxy: Connecting to 192.168.1.2:5222 with no proxy
15  (17:09:53) proxy: Connection in progress
16  (17:09:53) proxy: Connecting to 192.168.1.2:5222.
17  (17:09:53) proxy: Connected to 192.168.1.2:5222.
18  (17:09:53) jabber: Sending (usert@192.168.1.2/work): <?xml version='1.0' ?>
19  (17:09:53) jabber: Sending (usert@192.168.1.2/work): <stream:stream 
to='192.168.1.2' xmlns='jabber:client' 
xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
20  (17:09:53) jabber: Recv (38): <?xml version="1.0" encoding="UTF-8"?>
21  (17:09:54) jabber: Recv (478): <stream:stream from="192.168.1.2" 
id="00000006" version="1.0" xmlns:stream="http://etherx.jabber.org/streams"; 
xmlns="jabber:client"><stream:features><starttls 
xmlns='urn:ietf:params:xml:ns:xmpp-tls'></starttls><mechanisms 
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism></mechanisms><auth
 xmlns="http://jabber.org/features/iq-auth"/><bind 
xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session 
xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features>
22  (17:09:54) jabber: Sending (usert@192.168.1.2/work): <starttls 
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
23  (17:09:54) jabber: Recv (50): <proceed 
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
24  (17:09:54) nss: SSL version 3.3 using 128-bit AES-GCM with 128-bit AEAD MAC
Server Auth: 2048-bit RSA, Key Exchange: 2048-bit RSA, Compression: NULL
Cipher Suite Name: TLS_RSA_WITH_AES_128_GCM_SHA256
25  (17:09:54) nss: subject=CN=*,OU=Citadel server,O=Generic certificate,L=My 
Location,ST=The World,C=ZZ issuer=CN=*,OU=Citadel server,O=Generic 
certificate,L=My Location,ST=The World,C=ZZ
26  (17:09:54) certificate/x509/tls_cached: Starting verify for 192.168.1.2
27  (17:09:54) certificate/x509/tls_cached: Checking for cached cert...
28  (17:09:54) certificate/x509/tls_cached: ...Found cached cert
29  (17:09:54) nss/x509: Loading certificate from 
C:\Users\macros\Desktop\PidginPortable\Data\settings\.purple\certificates\x509\tls_peers\192.168.1.2
30  (17:09:54) certificate/x509/tls_cached: Peer cert matched cached
31  (17:09:54) nss/x509: Exporting certificate to 
C:\Users\macros\Desktop\PidginPortable\Data\settings\.purple\certificates\x509\tls_peers\192.168.1.2
32  (17:09:54) util: Writing file 
C:\Users\macros\Desktop\PidginPortable\Data\settings\.purple\certificates\x509\tls_peers\192.168.1.2
33  (17:09:54) nss: Trusting CN=*,OU=Citadel server,O=Generic certificate,L=My 
Location,ST=The World,C=ZZ
34  (17:09:54) certificate: Successfully verified certificate for 192.168.1.2
35  (17:09:54) jabber: Sending (ssl) (usert@192.168.1.2/work): <stream:stream 
to='192.168.1.2' xmlns='jabber:client' 
xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
36  (17:09:54) jabber: Recv (ssl)(38): <?xml version="1.0" encoding="UTF-8"?>
37  (17:09:54) jabber: Recv (ssl)(15): <stream:stream
38  (17:09:54) jabber: Recv (ssl)(23): from="192.168.1.2"
39  (17:09:54) jabber: Recv (ssl)(14): id="00000006"
40  (17:09:54) jabber: Recv (ssl)(14): version="1.0"
41  (17:09:54) jabber: Recv (ssl)(48): 
xmlns:stream="http://etherx.jabber.org/streams";
42  (17:09:54) jabber: Recv (ssl)(22): xmlns="jabber:client">
43  (17:09:54) jabber: Recv (ssl)(17): <stream:features>
44  (17:09:54) jabber: Recv (ssl)(53): <mechanisms 
xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
45  (17:09:54) jabber: Recv (ssl)(28): <mechanism>PLAIN</mechanism>
46  (17:09:54) jabber: Recv (ssl)(13): </mechanisms>
47  (17:09:54) jabber: Recv (ssl)(50): <auth 
xmlns="http://jabber.org/features/iq-auth"/>
48  (17:09:54) jabber: Recv (ssl)(48): <bind 
xmlns="urn:ietf:params:xml:ns:xmpp-bind"/>
49  (17:09:54) jabber: Recv (ssl)(54): <session 
xmlns="urn:ietf:params:xml:ns:xmpp-session"/>
50  (17:09:54) jabber: Recv (ssl)(18): </stream:features>
51  (17:09:54) sasl: Mechs found: PLAIN
52  (17:09:54) jabber: Sending (ssl) (usert@192.168.1.2/work): <auth 
xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN' 
xmlns:ga='http://www.google.com/talk/protocol/auth' 
ga:client-uses-full-bind-result='true'>password removed</auth>
53  (17:09:54) jabber: Recv (ssl)(51): <success 
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>
54  (17:09:54) jabber: Sending (ssl) (usert@192.168.1.2/work): <stream:stream 
to='192.168.1.2' xmlns='jabber:client' 
xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
55  (17:09:54) jabber: Recv (ssl)(38): <?xml version="1.0" encoding="UTF-8"?>
56  (17:09:54) jabber: Recv (ssl)(15): <stream:stream
57  (17:09:54) jabber: Recv (ssl)(23): from="192.168.1.2"
58  (17:09:54) jabber: Recv (ssl)(14): id="00000006"
59  (17:09:54) jabber: Recv (ssl)(14): version="1.0"
60  (17:09:54) jabber: Recv (ssl)(48): 
xmlns:stream="http://etherx.jabber.org/streams";
61  (17:09:54) jabber: Recv (ssl)(22): xmlns="jabber:client">
62  (17:09:54) jabber: Recv (ssl)(17): <stream:features>
63  (17:09:54) jabber: Recv (ssl)(48): <bind 
xmlns="urn:ietf:params:xml:ns:xmpp-bind"/>
64  (17:09:54) jabber: Recv (ssl)(54): <session 
xmlns="urn:ietf:params:xml:ns:xmpp-session"/>
65  (17:09:54) jabber: Recv (ssl)(18): </stream:features>
66  (17:09:54) jabber: Sending (ssl) (usert@192.168.1.2/work): <iq type='set' 
id='purple78d9fd64'><bind 
xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>work</resource></bind></iq>
67  (17:09:54) jabber: Recv (ssl)(38): <iq type="result" id="purple78d9fd64">
68  (17:09:54) jabber: Recv (ssl)(47): <bind 
xmlns="urn:ietf:params:xml:ns:xmpp-bind">
69  (17:09:54) jabber: Recv (ssl)(16): <jid>/work</jid>
70  (17:09:54) jabber: Recv (ssl)(7): </bind>
71  (17:09:54) jabber: Recv (ssl)(5): </iq>
72  (17:09:54) connection: Connection error on 04BAEA08 (reason: 0 description: 
Invalid response from server)
73  (17:09:54) account: Disconnecting account usert@192.168.1.2/work (04BE7F58)
74  (17:09:54) connection: Disconnecting connection 04BAEA08
75  (17:09:54) jabber: Sending (ssl) (usert@192.168.1.2/work): </stream:stream>
76  (17:09:54) connection: Destroying connection 04BAEA08
77  (17:09:59) util: Writing file accounts.xml to directory 
C:\Users\macros\Desktop\PidginPortable\Data\settings\.purple
78  (17:09:59) util: Writing file 
C:\Users\macros\Desktop\PidginPortable\Data\settings\.purple\accounts.xml

Reply via email to