Commit c5b544fe authored by sylvieg's avatar sylvieg

[FIX]ldap: openldap need the userdn to work

parent 6b3d6e3f
......@@ -180,7 +180,7 @@ class TikiLdapLib
$this->options['binddn'] = $this->user_dn($user);
break;
case 'ol': // openldap
$this->options['binddn'] = 'cn='.$user.','.$prefs['auth_ldap_basedn'];
$this->options['binddn'] = 'cn='.$user.','.$prefs['auth_ldap_userdn'].','.$prefs['auth_ldap_basedn'];
break;
default:
// Anonymous binding
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment