I have a forum running with phpBB. It has a function to connect it with jabber, but it does not work.I tried all kind of function_jabber versions for phpBB but nothing works.
Informácia
Nemôžem autorizovať užívateľa na Jabber serveri. (Unable to authorize user on jabber server)
This seems to be a response to a faulty username/password combination. Does Openfire log anything?
Also, if this account is important to you, I recommend that you immediately change its password. I do not recommend copy/pasting authentication-related raw data on public forums.
thanx, yes it is important xD I changed the password of it, I did not realize… no it seems there is nothing in logs about this, but the password can not be wrong as I am able to connect to the account using converse with the same password
my phpBB is an older version, but I tried the protocol file from the newest version, but no connection too
I am not sure, but if I put brut all lowercase the same result, I have googled that there may be some errors in the line .base64, I tried various versions, nothing worked, this should be the original one, is there everything allright (its from the function_jabber.php of phpBB)? is the mechanism compatible with openfire?
The code that you are copy/pasting is an implementation of the PLAIN SASL mechanism. The snippet of XMPP that you shared earlier showed that the DIGEST-MD5 SASL mechanism was used.
ahah, I am not much of a coder, so I did not realize that, here I uploaded the full file, I asked on phpBB forum too, but they told me I have to ask here
I’m afraid that I can’t spare the time to debug that code. What you can try to do is disable the DIGEST-MD5 mechanism in Openfire. This will cause phpBB to use the PLAIN mechanism. If there’s a compatibility issue in the DIGEST-MD5 implementation, then you have a good chance of uncovering it that way.
You can disable SASL implementations in the Openfire admin console (under Server > Server Settings > Registration & Login)
This would suggest that the SASL DIGEST-MD5 implementation of phpBB has some compatibility issue. Given that Openfire has, for years, used that as one of the primary methods of authentication, I’m tempted to think that this compatibility issue’s origin lies with phpBB more than with Openfire.
The DIGEST-MD5 SASL mechanism is old, and should be replaced by more modern SASL mechanisms. In reality, I suspect that many clients will still use it. Disabling it is not ideal for compatiblity.
Can you please provide links to the other forum threads, on both sides? That will help developers to communicate with each-other, and might help future readers that have similar issues.