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 TBBase DN : dc=mail,dc=foo,dc=comPort 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