Hi,
I've just configured Roundcube on my mail server and it works perfectly.
But i meet a problem with LDAP addressbook.
I have configured that in main.inc.php like that :
$rcmail_config['ldap_public'] = array (
'MyAdLdap' =>
array (
'name' => 'my fancy AD server',
'hosts' =>
array (
0 => 'ldap.intranet.mydomain.fr',
),
'sizelimit' => 600,
'port' => 389,
'use_tls' => false,
'user_specific' => false,
'base_dn' => 'DC=intranet,DC=mydomain,DC=fr',
'bind_dn' => 'CN=ldap,OU=Administration,OU=Utilisateurs_administration,DC=intranet,DC=mydomain,DC=fr',
'bind_pass' => 'password',
'writable' => false,
'ldap_version' => 3,
'search_fields' =>
array (
0 => 'mail',
1 => 'cn',
),
'name_field' => 'cn',
'email_field' => 'mail',
'surname_field' => 'sn',
'firstname_field' => 'givenName',
'sort' => 'cn',
'scope' => 'sub',
'filter' => '(objectClass=*)',
'fuzzy_search' => true
),
);
But my addressbook shows all entries of my LDAP server (users, computers, UnitOrg, services, ...) !!! And not only users with email address.
I have tried to use filter like : 'filter' => '(objectClass=inetOrgPerson)',
but it displays nothing...
So it takes a lot of time to displays all data, and it's not usable.
Thank you in advance for your support
Up.
Nobody meet this problem or has any idea ? :(
Thank you