I am trying to integrate phpBB into an Openfire installation. This funcitonality is provided out-of-the-box in phpBB; although it appears not to work. There seem to be a number of posts kicking about mentioning this, but they do not have many responses, and are quite woolly.
I have debugged the php code a bit, and checked against the XMPP RFC, and it appears to be in good order.
The system selected DIGEST-MD5 and a challenge is sent to the phpbb client e.g:
A response is then sent back to Openfire:
dXNlcm5hbWU9InBocGJiIixyZXNwb25zZT0iOGM2NGYwMGM1YzcyNzU2YTIyODU2ZTZkNGMxNmE5MzciLGNoYXJzZXQ9InV0Zi04IixuYz0iMDAwMDAwMDEiLG5vbmNlPSJjQ054RCtWamMvdW1UR0ZHbGFUNVF2c0tSbnpEQjdHd0dtNEhFVGg4Iixxb3A9ImF1dGgiLGRpZ2VzdC11cmk9InhtcHAvbmZwIixyZWFsbT0ibmZwIixjbm9uY2U9ImJ5MjJhdlFxUTBHeTVGWlZnQS94YjVVNzVvWWlXNERlejQwRGdnRFFFV0E9Ig== -i.e.- username="phpbb",response="8c64f00c5c72756a22856e6d4c16a937",charset="utf-8",nc="00000001",nonce="cCNxD+Vjc/umTGFGlaT5QvsKRnzDB7GwGm4HETh8",qop="auth",digest-uri="xmpp/nfp",realm="nfp",cnonce="by22avQqQ0Gy5FZVgA/xb5U75oYiW4Dez40DggDQEWA="
The server will then send a <not-authorized/> response.Naturally, I’ve done the obvious and ensured that the user is setup and can login ok via Spark. This leads me to believe the data being sent in the response message is invalid, but according to section 6.5 of http://www.ietf.org/rfc/rfc3920.txt this all appears correct.Does anybody with any knowledge of this area know what could be causing this?Thanks,