From b8448fecd81991115f90417b9098588baafd7246 Mon Sep 17 00:00:00 2001 From: Cyrix126 <58007246+Cyrix126@users.noreply.github.com> Date: Sun, 24 Apr 2022 14:08:02 +0200 Subject: [PATCH] line in conf.php to be replaced --- example_configs/dolibarr.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/example_configs/dolibarr.md b/example_configs/dolibarr.md index bdbd1f1..dbbd4a6 100644 --- a/example_configs/dolibarr.md +++ b/example_configs/dolibarr.md @@ -59,7 +59,13 @@ Click on the blank form "Users in LDAP database", you will get the list of the u ##To enable LDAP login: Modify your conf.php in your dolibarr folder in htdocs/conf -Add those lines: +Replace +``` +// Authentication settings +$dolibarr_main_authentication='dolibarr'; +``` + +with: ``` // Authentication settings // Only add "ldap" to only login using the ldap server, or/and "dolibar" to compare with local users. In any case, you need to have the user existing in dolibarr. @@ -71,7 +77,7 @@ $dolibarr_main_auth_ldap_servertype='openldap'; $dolibarr_main_auth_ldap_login_attribute='cn'; $dolibarr_main_auth_ldap_dn='ou=people,dc=example,dc=com'; $dolibarr_main_auth_ldap_admin_login='cn=admin,ou=people,dc=example,dc=com'; -$dolibarr_main_auth_ldap_admin_pass='secret; +$dolibarr_main_auth_ldap_admin_pass='secret'; ``` You can add this line to enable debug in case anything is wrong: