Hostname vs Realm in XMPP

Paul paul_pidgin at airbred.com
Tue May 21 00:54:53 EDT 2013


On 21/05/2013 1:52 PM, Ethan Blanton wrote:
>
> If you create your account as paul at domain.com, and Pidgin does a SRV
> lookup and gets jabber.domain.com, it shoul still log in with
> paul at domain.com.  Are you sure your username is entered correctly?
Yeah, I am sure - I have "paul" in the username field and "airbred.com" 
in the domain field.  Here is the SASL decoded:

username="paul",realm="jabber.airbred.com",nonce="2288122629",cnonce="dpeorOCYJP8E4895e54PuAkIwuNagqA7JNjG11gt/zY=",nc=00000001,qop=auth,digest-uri="xmpp/jabber.airbred.com",response=afbb9d2c323c0a86fe9f77685284dbd9,charset=utf-8

>>I doubt I am the only one where the domain name doesn't match the
>>hostname exactly, so I must have something not configured right.
>>The backend is an ejabberd server.
>
>Those of us with accounts on pidgin.im have exactly this setup, and it
>works correctly.  Google Talk is also this setup, and works correctly.
>Something else is going on here.


Yes, I am assuming so - and I was assuming that ejabberd was the 
difference.  ejabberd doesn't announce the realm when it puts out the 
nonce, unlike jabber2.  I would be surprised if Gtalk didn't announce 
the realm either.

But in the absence of an announced realm, does pidgin take it from the 
domain field?






More information about the Support mailing list