Create database for Openfire

# mysql -u root -p
mysql> create database openfire;

Goto IM tab in Elastix GUI and start the installation.

Select the MySQL DB which you have created already.

Select Profile Settings as Directory Server

Put Active Directory Credentials


Leave User Mapping as it is

Choose the admin accounts for Open Fire.

Click Continue.

If you face the “HTTP ERROR: 500 INTERNAL_SERVER_ERROR” run the following commands.

# mkdir /var/lib/php/session/cache
# chmod 777 cache

Click browser’s back button and click continue to finish the installation.

For testing install XMPP client Pandion and login with Active Directory username @ Openfire Server name and active directory password. See the screenshot.

Advertisements

6 thoughts on “OpenFire with Active Directory – Elastix

  1. After your step, “Leave User Mapping as it is” I don’t get the dialog box, “Choose the admin accounts for Open Fire.” I get “Profile Settings: Group Mapping”, and when I click next I get HTTP ERROR 500

    Problem accessing /setup/setup-admin-settings.jsp. Reason:

    Server Error

    Caused by:

    java.lang.NullPointerException

    Can you help?

      1. Yes I did try that but it did not work. However I figured out the issue. I was using Open Java, and apparently it does not work with that. So I executed sudo apt-get install oracle-java6-jre then sudo update-java-alternatives -s java-6-sun and then it worked. Thanks for responding.

  2. Problem accessing /setup/setup-ldap-user.jsp. Reason:

    Server Error
    Caused by:

    java.lang.ClassCastException: org.jivesoftware.openfire.user.DefaultUserProvider cannot be cast to org.jivesoftware.openfire.ldap.LdapUserProvider

    Can you help me,pls?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s