Openfire Drupal 6 Integration

Hello All,

I really hope someone can help me out with the problem I am having. I have setup an internal portal for the company I work for using Drupal 6. One thing were really trying to do is bring employees together and we feel integrated chat could help us accomplish that. I have looked at Drupal’s modules for XMPP and currently have them installed. What I would like to do is use these modules to communicate with Openfire. I have setup an Openfire server and that is all working fine, but I can’t access it from the Drupal menus and configuration. I know this is more of a Drupal question, but has anyone had any experience intergrating Drupal and Openfire?

my guess is you will need to setup openfire to authenticate against the drupal database. then use the XMPPclient module to provide chat capability. I would read the numerous docs about authentication against 3rd party databases. I cannot help with that as i have never tried.

Well authentication is not so much the issue. My Openfire and Drupal setups both use LDAP authentication. Passing the credentials could be an issue, but its using HTTP binding listening on port 7070. When I try to go to the SERVER_ADDRESS:7070 I get this error:

HTTP ERROR: 404

NOT_FOUND

RequestURI=/

Powered by Jetty://

Maybe I can’t connect because the Bind is not functioning correctly. Do I need to specify a specific URL?

for http-bind to work you will most likely need to make sure that your chat server name is a fully qualified domain name (chatserver.domain.com), that the XMPP domain of openfire matches this FQDN, and that the certificates of openfire match the FQDN. Also are your openfire settings set to this for http bind:

ScreenShot001.jpg

I have tried it with my FQDN, but I still recieve the same error. I also ensure everything was correctly configured from the openfire admin console. Any other ideas why I would be getting a bad request? It partially makes sense considering it should be listening for a specific call, but I have read on other posts that people were able to browse to the binding URL and have some HTML appear.

It took me quite a while to figure all this out, but I got it all working. I wrote up a document so that others could follow it and not have to deal with all the problems I had.

Here is my write up:

http://www.dueyesterday.net/node/36