Hi,
I just install roundcube mail into my server. I want the address book to link with my Ldap. How to do so ?
Hi, If you look in config/main.inc.php you will see an example of how to configure LDAP addressbooks.
i had check and edit the code but i having error and i not sure how to solve it
$rcmail_config['ldap_public']['135.27.130.61'] = array (
'name' => 'KEV DIR',
'hosts' => array('135.27.130.61'),
'port' => 389,
// 'use_tls' => false,
// 'user_specific' => false, // If true the base_dn, bind_dn and bind_pass default to the user's IMAP login.
// %fu - The full username provided, assumes the username is an email
// address, uses the username_domain value if not an email address.
// %u - The username prior to the '@'.
// %d - The domain name after the '@'.
'base_dn' => 'ou=people,dc=kev,dc=com,dc=my');
Which errors do you get? Maybe your php is not compiled with ldap support or ldap extension is not enabled in php.ini ...
when i click the directory on the webmail address book. It doesn't display all the name and address.
This is no error ... It does only display the address list after a search request!
Just set key "'filter' => 'mail=*'," (by default 'filter' => '')
Where "mail=*" is your 'LDAP_rdn'.