Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-6478

Connection to Jabber server fails due to @host part in auth string

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 3.0.RC7
    • Other
    • None
    • PHP Environment: 5.2.4
      Database: 5.0.45

      Connection to my own Jabber server (ejabberd) fails due to it expecting only "user" and not "user@host" auth string (using SASL PLAIN). There is no way to do this because the @host part is hardcoded, but there seems to be no standard on this issue and is server-specific.

      The fix is to in /includes/functions_jabber.php (457) replace:

       . base64_encode(chr(0) . $this->username . '@' . $this->server . chr(0) . $this->password) .

      with:

      . base64_encode(chr(0) . $this->username . chr(0) . $this->password) .

            Acyd Burn Meik Sievertsen [X] (Inactive)
            dkarlovi dkarlovi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: