
Once installed, open /etc/ejabberd/ejabberd.
#EJABBERD LDAP INSTALL#
Install the ejabberd package by running the following ~]# yum install -y ejabberdĮdit Configuration file to use TLS for communication between the Server and your Jabber clients ~]# yum install -y Install ejabberd package To do this, run the following on your soon to be, jabber server.

~]# ipa group-addĭescription: Group used to validate Jabber authentication to allowed usersĪs the the ejabberd package is not provided by Red Hat, you will need to configure yum to use the EPEL repostories, Whilst you are still on the IPA server, add the group to be used for our jabber users. external script, LDAP, PAM, and ODBC), varied storage methods (embedded, ODBC. ~]# ldapmodify -h -p 389 -x -D "cn=Directory Manager" -w redhat123 -f jabber.ldif ejabberd is a multi-platform, scalable, distributed, and fault-tolerant. Please note, you will need your Directory Manager password here. Once you have saved your file, import the information into LDAP with the following command.

dn: uid=ejabberd,cn=sysaccounts,cn=etc,dc=example,dc=com Don’t forget to change the userPassword to something secure. In this example, I created /root/jabber.ldif. ~]# klistĭefault principal: starting Expires Service principalĠ6/13/12 23:28:48 06/14/12 23:28:45 a file with the following information. Password for can verify your ticket with the following command. If you did not log in as the admin user, optain a tgt for the admin user so we can add what we need to. Nothing to remove No hostdn for ejabberd-ecs found. iptables -A INPUT -p tcp -dport 5222 -j ACCEPT iptables -A INPUT -p tcp -dport 5269 -j ACCEPT. I have done the following: Assuming my public domain is and the public IP is 123.123.10.210. You can use LDAP for user authentication as well as vCard storage.
#EJABBERD LDAP HOW TO#
The below details will walk you through how to add a Red Hat Enterprise Linux 6.5 system to an IPA domain, and then configure eJabberd to allow LDAP authentication with Group validation.ĭetails of this example are as follows Domain name: Setting ldap/server/name Setting ldap/server/ip Not updating ldap/server/port Create ldap/master Not. Now I want to allow my ejabberd server to be accessible from the public url, but have been unsuccessful. The Ejabberd server provides built-in support for LDAP-based authentication. Passwords will be transmitted in CLEAR TEXT!, Please be aware of this. LDAP server at (our servers are connected to the local network company.local) - ejabberd 1.1. If you wish to use this method in its current state, please do so at your own risk. Please note: This document works, however uses an unencrypted method of validating username and password data. This guide has been written to show how you can integrate ejabberd (XMPP Server) into FreeIPA using LDAP authentication, and to allow user’s based on being a member of an allowed Group.
