Module LDAP En
From Dolibarr Wiki
| LDAP | |
|---|---|
| Numero/ID of module | 200 |
| User doc. of module | This page |
| Developer doc. of module | Module LDAP (developer) |
Contents |
Introduction
The LDAP module must be used if you want to synchronize somer Dolibarr entities with a LDAP database. The entities and direction you can synchronize are:
- User (Module Users) -> LDAP
- Group (Module Users) -> LDAP
- LDAP -> User (Module Users)
- Contact (Module Third parties) -> LDAP
- Member (Module Foundations) -> LDAP
This assumes that you already have an LDAP server. If this is not the case, you can Install and configure OpenLDAP.
Installation
This module is provided with standard Dolibarr distribution, so there is no need to install it.
Configuration
To use this module, you must first enable it. For this, with an administrator use, go on page "Home - Setup - Modules".
Choose the tab where the module stand. Then click on "Activate".
If an icon appears at end of module line, click on it to access the setup page, specific to this module.
The module should be ready to be used.
Information you must supply in the LDAP module setup are:
- Choose what you want to synchronize
- LDAP server information (ip, port...)
Once datas are filled, make a test by using button "Test LDAP connection" to be sure they are correct.
- Enter the organization of your LDAP tree
- Make matching between Dolibarr fields and LDAP fields.
Once datas are filled, make a test by using button "Test synchronization" to be sure they are correct.
Usage
For synchronization from Dolibarr to LDAP, once your setup is done, there is nothing to do. Each time you make a change in Dolibarr, the change is also saved into your LDAP.
You can however run initial or mass synchronization with some scripts (See chapter Scripts).




