module for Jelix,allowing to authenticate with an ldap server and to register users locally.
This is a module for Jelix, providing a plugin for jAuth allowing to authenticate with an ldap server, and register them in the app database, using a dao.
This module is for Jelix 1.6.x and higher.
You should use Composer to install the module. Run this commands in a shell:
composer require "jelix/ldapdao-module"
ldapdao directory into the modules/ directory of your application.
Next you must say to Jelix that you want to use the module. Declare it into the mainconfig.ini.php file (into yourapp/var/config/ for Jelix 1.6, or into yourapp/app/config/ for Jelix 1.7).
[modules] section, add:
Following modules are required: jacl2, jauth, jauthdb. In this same section verify that they are activated:
jacl2.access=1 jauth.access=2 jauthdb.access=1
In the command line, launch:
php yourapp/cmd.php install
This module provides two things:
- a plugin,
ldapdao, for jAuth
- a configuration file for the
authplugin for jCoordinator.
ldapdao plugin replaces the
ldap plugin for jAuth. The
installer of the module deactivates some jAcl2 rights, and copy an example
of the configuration file
authldap.coord.ini.php into the configuration directory
var/config in Jelix 1.6,
app/config in Jelix 1.7).
You should edit the new file
authldap.coord.ini.php. Many properties
should be changed to match your ldap structure.
Second, you should indicate this new configuration file into the mainconfig.ini.php file,