Open ejabberd.yml from your Ejabberd configuration directory and search for Authentication. If you have installed Ejabberd from source, all configuration files are located in the /etc/ejabberd directory: If you have used a Debian package for the Ejabberd installation, your Ejabberd should be installed in /opt/ejabberd-version directory and the configuration can be found at /etc/ejabberd-version/conf. Go through article 10, Communication Server with XMPP, for details on the installation and configuration of the Ejabberd server.Ĭreate a user account on the LDAP server to be used with Ejabberd.Īs Ejabberd provides inbuilt support for LDAP-based authentication, we simply need to edit configurations and set the auth method to LDAP. You will need the Ejabberd service installed and running. We cannot create new user accounts in the LDAP directory, but we can change passwords if the mod_register module is enabled. As stated in the Ejabberd admin guide, Ejabberd use LDAP as a read-only data source. You can use LDAP for user authentication as well as vCard storage. The Ejabberd server provides built-in support for LDAP-based authentication. This recipe covers the configuration of an external service to work with our LDAP installation. Until now, we have set up the LDAP server and used it to log in to the Ubuntu server with a user account created on the LDAP server. In this recipe, we will learn to set up the Ejabberd server to authenticate the user with our LDAP server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |