I just found out that my php doesn't have ldap module. Sorry for the noise.

On Mon, Feb 27, 2012 at 11:21 AM, Nelson Serafica <[email protected]>wrote:

> I'm currently studying roundcube with ldap as its DEFAULT addressbook. I
> have a running ldap for addressbook and it is working fine in an email
> client such as Thunderbird. Below is my setup in TB
>
> Base DN : dc=mail,dc=foo,dc=com
> Port 388
>
> Port 388 is being forward to 389 of my ldap server. However, I cannot
> configure Roundecube to query on ldap. Below is my config in ldap settings
> in main.inc.php.
>
> $rcmail_config['address_book_type'] = 'ldap';
>
> $rcmail_config['ldap_public']['Addbook'] = array(
> 'name'          => 'foo.com',
> 'hosts'         => array('localhost'),
> 'port'          => 389,
> 'use_tls'       => false,
> 'user_specific' => false,
> 'base_dn'       => 'dc=mail,dc=foo,dc=com',
> 'LDAP_Object_Classes' => array("top", "inetOrgPerson"),
> 'required_fields'     => array("cn", "sn", "mail"),
> 'LDAP_rdn'      => 'mail',
> 'search_fields' => array('mail', 'cn'),
> 'name_field'    => 'cn',
> 'email_field'   => 'mail',
> 'surname_field' => 'sn',
> 'firstname_field' => 'gn',
>  'sort'          => 'cn',
> 'fuzzy_search'  => true,
> 'sizelimit'     => '0',
> 'timelimit'     => '0',
> );
>
> $rcmail_config['autocomplete_addressbooks'] = array('ldap','foo.com');
>
> $rcmail_config['autocomplete_min_length'] = 1;
>
>
> After saving main.inc.php, I can no longer access Addressbook Tab.
> Probably of the wrong settings in my ldap. I can query ldap when I do 
> ldapsearch
> -x -b 'dc=mail,dc=foo,dc=com'. The settings above is based on the default
> file main.inc.php. I just followed the procedures.
>
> Can anyone give a hint?
>
> TIA,
>
>
> Nelson
>
-- 
List info: http://lists.roundcube.net/users/
BT/8f4f07cd

Reply via email to