Openfire + PostgreSQL + LDAP (ApacheDS) Configuration

Source: Internet
Author: User

Openfire + PostgreSQL + LDAP (ApacheDS) Configuration

Pre-installed software

Install PostgreSQL and set the Administrator account (PostgreSQL) password to admin. The default port is 5432.

Install ApacheDS, start, create a new server, and start the server. The default port of the server is 10389. There is an admin under ou = system, and the password is secret.

Install Openfire.

Openfire Database Configuration

Start the openfire console, go to the database configuration page, and select postgres as the database provider.

Use pgAdmin to create database openfire in postgres.

Connection string input: jdbc: postgresql: // localhost: 5432/openfire

Admin: S

Password: admin

Test the connection. If the connection is successful, a green box will pop up, showing success. If the connection fails, a green box will pop up, displaying FAILED. if no dialog box is displayed, try to use a clean Virtual Machine to build it from scratch (I have encountered no prompts (chrome is used). The reason is unknown, changing the browser for testing or using a clean virtual machine does not have the same problem ).

Configure LDAP in Openfire

You can select openldap for ldap provider or others.

Host: localhost

Port: 10389

Base DN: ou = system

Administrator DN: uid = admin, ou = system

Password: secret

Click test. If the connection is connected, a prompt is displayed, indicating that the connection is successful. If the connection fails, an error message is displayed. If there is no prompt, try another browser or use a clean Virtual Machine to build it from scratch.

Click next To Go To The vCard card ing page. Click next To Go To The group ING ing page. Change the value of member field to uid and click test. If the number of groups in the displayed dialog box is empty, the problem occurs, because you have an admin account, it should exist in the administrator group. If there is a record not 0 in the pop-up, you should be able to celebrate.

Detailed installation process of Openfire in CentOS

Openfire server configuration notes based on Jabber/XMPP protocol in CentOS 5.4

Install Openfire on Ubuntu 12.04

Openfire solves Chinese garbled characters After MySQL database is used

Load Balancing for Openfire clusters using Nginx

Openfire details: click here
Openfire: click here

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.