Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: liku on June 21, 2014, 06:12:56 AM

Title: LDAP configuration in RoundCube
Post by: liku on June 21, 2014, 06:12:56 AM
Hello,
I have installed on CentOS 6.5 LDAP and I want to use it also as a address book for thunderbird and RoundCube. I have this setting for address book:
ou=address_book,dc=domena,dc=com
ou=book1,ou=address_book,dc=domain,dc=com
ou=book2,ou=address_book,dc=domain,dc=com
ou=book3,ou=address_book,dc=domain,dc=com


I would like to set up roundcube to display individual groups book1, book2, book3... and under them their contacts. Now, however, in the window "group" I can see just one title "address book" that I set in roundcube settings ´name´. And in the contacts I can see now all the email contact of all groups together.

My RoundCube settings is:
$rcmail_config['ldap_public']['public'] = array(
  'name'          => 'address book',
  'hosts'         => array('localhost'),
  'port'          => 389,
  'use_tls'           => false,
  'ldap_version'  => 3,     
  'user_specific' => false,
  'base_dn'       => 'ou=address_book,dc=domain,dc=com',
  'bind_dn'       => 'cn=Manager,dc=domain,dc=com',
  'bind_pass'     => 'password',


Can you help me please howto configure RoundCube to display all groups (book1, book2...) that I have in LDAP?

Thanks
Libor
Title: Re: LDAP configuration in RoundCube
Post by: northland on June 25, 2014, 01:23:48 AM
And I'm interested in this question ...
Title: Re: LDAP configuration in RoundCube
Post by: northland on June 27, 2014, 06:22:03 AM
$config['ldap_public'] = array(
     'book1' => array (
      ),
$config['ldap_public'] = array(
     'book2' => array (
      ),
$config['ldap_public'] = array(
     'book3' => array (
      ),
$config['ldap_public'] = array(
     'book4' => array (
      ),
$config['autocomplete_addressbooks'] = array('sql','book1','book2','book3','book4');