Roundcube Community Forum

Release Support => Pending Issues => Topic started by: june_c21 on December 07, 2008, 08:58:39 PM

Title: Ldap Configuration
Post by: june_c21 on December 07, 2008, 08:58:39 PM
Hi,
I just install roundcube mail into my server. I want the address book to link with my Ldap. How to do so ?
Title: Ldap Configuration
Post by: JohnDoh on December 08, 2008, 08:51:07 AM
Hi, If you look in config/main.inc.php you will see an example of how to configure LDAP addressbooks.
Title: Ldap Configuration
Post by: june_c21 on December 09, 2008, 02:54:33 AM
i had check and edit the code but i having error and i not sure how to solve it

Code: [Select]

$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');


Title: Ldap Configuration
Post by: rosali on December 09, 2008, 09:24:58 AM
Which errors do you get? Maybe your php is not compiled with ldap support or ldap extension is not enabled in php.ini ...
Title: Ldap Configuration
Post by: june_c21 on December 09, 2008, 11:03:21 PM
when i click the directory on the webmail address book. It doesn't display all the name and address.
Title: Ldap Configuration
Post by: rosali on December 10, 2008, 01:04:01 AM
This is no error ... It does only display the address list after a search request!
Title: Ldap Configuration
Post by: Sava on December 10, 2008, 05:29:32 PM
Just set key "'filter'        => 'mail=*'," (by default 'filter' => '')
Where "mail=*" is your 'LDAP_rdn'.