Skip to content
Snippets Groups Projects
Commit 5c4d64ae authored by Regis Houssin's avatar Regis Houssin
Browse files

Modification pour la gestion des utilisateurs via LDAP

parent 73159f98
No related branches found
No related tags found
No related merge requests found
......@@ -54,9 +54,9 @@ function dolibarr_ldap_connect()
function dolibarr_ldap_bind($ds)
{
if (defined("LDAP_ADMIN_PASS") && LDAP_ADMIN_DN && LDAP_ADMIN_PASS)
if (defined("LDAP_ADMIN_PASS") && LDAP_SUFFIX_DN && LDAP_ADMIN_DN && LDAP_ADMIN_PASS)
{
$ldapbind = ldap_bind($ds, LDAP_ADMIN_DN, LDAP_ADMIN_PASS);
$ldapbind = ldap_bind($ds, LDAP_ADMIN_DN.LDAP_SUFFIX_DN, LDAP_ADMIN_PASS);
}
return $ldapbind;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment