HOWTO: LDAP + ActiveDirectory instructions (with authentication) for Dolibarr 12

Awesome, had the same issues as i also assumed using LDAP->Dolibarr would allow you to login with LDAP accounts.
The settings also work fine with OpenLDAP, only need to change the login attribute to ‘uid’.

I was trying to use the Groups as well, but it seems that Groups dont really do anything when using direction LDAP->Dolibarr. On creating a new group there is no way to import the group from LDAP. However, based on the group name, Dolibarr can still read the LDAP entry if there exist a group with the same name. A bit strange.

I thought of managing the group assignments in ldap and have them automatically created when the users are imported to Dolibarr, instead of assigning members to groups that only exist in Dolibarr. Any idea if/how this might work?

1 Like