First, I reviewed all of the other posts in the forum and am still stuck.
I am trying to set up Dolibarr (DL) with Windows Server 2022 Active Directory (AD) Domain Controller.
I am able to access the DL LDAP module and all set up there is working. (tested the “Global parameters” and “Users” tabs). Dolibarr is able to fetch the exact number of AD user in the DC ou.
I can go to “New User” and click the down arrow and it shows the users in AD.
All of this worked before I made changes to the conf.php file in the DL htdocs/conf folder. I made the changes that I believe are correct, but I can not log in using AD authentication.
Users that I add without choosing from the drop down in “New User” still work fine, but no user that is added with the drop down work. Further, when I click on the user added via the drop down, I get a blank screen for the user card. The menus are sill across the top and left sides, but the user card is blank.
Here is the info from my conf.php file.
$dolibarr_main_authentication=‘ldap’;
$dolibarr_main_auth_ldap_host=‘ad.mydomain.com’;
$dolibarr_main_auth_ldap_port=‘389’;
$dolibarr_main_auth_ldap_version=‘3’;
$dolibarr_main_auth_ldap_servertype=‘activedirectory’;
$dolibarr_main_auth_ldap_login_attribute=‘samaccountname’;
$dolibarr_main_auth_ldap_dn=‘ou=domain users,dc=ad,dc=mydomain ,dc=com’;
$dolibarr_main_auth_ldap_admin_login=‘CN=doli_svc,OU=Domain Users,DC=ad,DC=mydomain,DC=com’;
$dolibarr_main_auth_ldap_admin_pass=‘’;
$dolibarr_main_auth_ldap_debug=‘true’;
What am I missing?