LDAP config with blanc screen

Hi everyone,
I install manually(tgz package) dolibarr 12.0.3 on linux ubuntu server 20.04

  • The lamp install is ok
  • dolibarr install is ok
  • activation of LDAP module is OK
  • Configuration of LDAP module is OK (General and user test are ok)
    It’s when I modify htdoc/conf/conf.php, I have a blanc screen when I want to have the login screen.
    Extract of ldap section :
    // Authentication settings
    $dolibarr_main_auth_ldap_host=‘192.168.y.x’; // You can define several servers here separated with a comma.
    //$dolibarr_main_auth_ldap_port=‘389’; // Port
    //$dolibarr_main_auth_ldap_servertype=‘activedirectory’; // openldap, activedirectory or egroupware
    //$dolibarr_main_auth_ldap_login_attribute=‘samAccountName’; // Ex: uid or samaccountname for active directory
    $dolibarr_main_auth_ldap_dn=‘dc=xxxx,dc=net’; // Ex: ou=users,dc=my-domain,dc=com
    //$dolibarr_main_auth_ldap_filter = ‘’; // If defined
    $dolibarr_main_auth_ldap_admin_pass=‘PASSWORD’; // Required only if anonymous bind disabled. Ex: secret

Can somebody help me, thanks.


Blanc screen means PHP error, please check the apache logs.

ha thanks for the clue.

After check in apache2 error.log
[Fri Dec 04 14:41:53.239008 2020] [proxy_fcgi:error] [pid 2076] [client] AH01071: Got error ‘PHP message: PHP Parse error: syntax error, unexpected ‘$dolibarr_main_auth_ldap_admin’ (T_VARIABLE) in /home/http/dolibarr-12.0.3/htdocs/conf/conf.php on line 34’

I saw the misstake, I forgot ‘;’ at the end of line
Well I have the login screen