Fix setting ldap debug after Net_LDAP3 integration

This commit is contained in:
Aleksander Machniak 2014-08-05 10:48:23 +02:00
parent 23dfdba348
commit 934b0e4dc9

View file

@ -34,11 +34,11 @@ class kolab_auth_ldap extends rcube_ldap_generic
{
$rcmail = rcube::get_instance();
$this->debug = (bool) $rcmail->config->get('ldap_debug');
$this->fieldmap = $p['fieldmap'];
$this->fieldmap['uid'] = 'uid';
$p['attributes'] = array_values($this->fieldmap);
$p['debug'] = (bool) $rcmail->config->get('ldap_debug');
// Connect to the server (with bind)
parent::__construct($p);