Topic: Enable Global LDAP Address Book wih AD in Roundcube webmail NOT WORK
==== Required information ====
- iRedMail version: 0.8.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Ubuntu Server 10.04
- Related log if you're reporting an issue:
====
Hi, I ca follow the integration iRedMail and AD http://www.iredmail.org/wiki/index.php? … be_webmail without any problem, but when y try to use de global LDAP address book not work, never show me any user o match.
I change
=====================================================================
$rcmail_config['autocomplete_addressbooks'] = array("sql", "dominio.local"); // here always is sql the option ??
and the
$rcmail_config['ldap_public']["dominio.local"] = array(
'name' => 'Global Address Book',
'hosts' => array("192.168.2.4"), // <- Set AD hostname or IP address here.
'port' => 389,
'use_tls' => false, // <- Set to true if you want to use LDAPS. Change port to 636 on above line too.
// ---- Used to search accounts only in the same domain. ----
'user_specific' => false,
'base_dn' => "cn=users,dc=dominio,dc=local", // <- Set base dn in AD
'bind_dn' => "vmail", # <- bind dn
'bind_pass' => "my_vmail_pass", // <- bind password
'writable' => false, # <- Do not allow mail user write data back to AD.
'ldap_version' => "3",
// ---- Search ----
//'search_fields' => array('displayname', 'userprincipalname', 'sn', 'givenname',), // <- fields to search in
'search_fields' => array('mail', 'cn', 'sAMAccountName', 'displayname', 'sn', 'givenName'),
//'name_field' => 'displayname',
'name_field' => 'cn',
//'email_field' => 'userprincipalname',
'email_field' => 'mail',
'surname_field' => 'sn',
//'firstname_field' => 'givenname',
'firstname_field' => 'givenName',
//'sort' => 'displayname',
'sort' => 'cn',
'scope' => 'sub',
//'filter' => "(&(objectclass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))",
'filter' => "(mail=*@*)",
'fuzzy_search' => true
);
=================================================================================
When I finish to install iRedMail the local address book works fine, but later when i integrated iredmail with AD and i can use de AD address book never works, any idea ?!?! Please help me, its the only thing I cant put to work to finish the full installation . . . thanks
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.