Hi all!

Sorry for my english, my native language is russian...

I have installed Roundcube Version 0.2-20080620 to my freebsd server
and it works great.
I have bunch of problems, but most of them were solved. But it is
still one problem, which I can't solve.

All my users data (accounts, passwords, e-mail adresses) is stored in
Active Directory ldap catalog (Win2003 Server R2).
I have Exim as MTA and Dovecot as imap server. This is working fine
with AD ldap catalog. In roundcube i want to get ldap adress book and
i have been setup this in main.inc.php.
Roundcube show me the users in contacts, it search for user's mails
when i create new mail, all ok. But when i want to see contacs data ->
i click on a contact in list of contacs, and roundcube says me
something like "requested contact could not be found". I have a
message on russian, so i can't give original translation. Contact name
is written on russian. When i clicked on contact, which is have only
latin symbols -> it show me data of contact, but this is not always. I
don't see any errors in roundcube logs, apache logs.
I think this is problem in encoding (russian symbols), or in contact
fields. How roundcube search for contacts in ldap and what is happen
when i clicked on a contact? Where i can find source code, which do
this work? Not all fields of contacts (eg sn) in AD have been
filled.This problem is not critical, but i must solve it, because i
don't want answer to my users questions about ldap address book.

This is my config of ldap address book in main.inc.php:

$rcmail_config['ldap_public']['DOMAIN.RU'] = array(
'name'          => 'DOMAIN.RU',
'hosts'         => array('boss2.domain.ru'),
'port'          => 3268,
'use_tls'       => false,
'user_specific' => false,
'base_dn'       => 'DC=domain,DC=ru',
'bind_dn'       => 'CN=ldap ldap,CN=Users,DC=domain,DC=ru',
'bind_pass'     => '12345678',
'writable'      => false,
'ldap_version'  => 3,
'search_fields' => array('mail','cn'),
'name_field'    => 'cn',
'email_field'   => 'mail',
'surname_field' => 'sn',
'firstname_field' => 'givenName',
'sort'          => 'cn',
'scope'         => 'sub',
'filter'        =>
'(&(mail=*)(|(&(objectClass=user)(!(objectClass=computer)))(objectClass=group)))',
'global_search' => true,
'fuzzy_search'  => true);

I'm hope that you can help me (-:

Again, sorry for my english =)
_______________________________________________
List info: http://lists.roundcube.net/users/

Reply via email to