Author Topic: IIS 7.5+roundcube 1.0.1+AD W2008R2 (Reading address book ldaps)  (Read 3368 times)

Offline northland

  • Newbie
  • *
  • Posts: 6
Hi, I installed the RoundCube 1.0.1 on the localhost:

Windows 2008R2 Std x64
IIS 7.5
PHP 5.4.29
hmailserver
MySQL 5.5.23 CS

My addressbook settings

Code: [Select]
$config['ldap_public'] = array(
     'domen' => array (
            'name' => 'domen',
            'hosts' => array ('dc1_ca.domen.ru'),
            'sizelimit' => 6000,
            'port' => 636,
            'use_tls' => true,
            'user_specific' => false,
            'base_dn' => 'CN=Users,DC=domen,DC=ru',
            'bind_dn' => 'ldaps@domen.ru',
            'bind_pass' => 'ldapspass',
            'writable' => false,
            'ldap_version' => 3,
            'search_fields' => array ('mail', 'cn', 'sn'),
            'name_field' => 'cn',
            'email_field' => 'mail',
            'surname_field' => 'sn',
            'firstname_field' => 'givenName',
            'sort' => 'sn',
            'scope' => 'sub',
            'filter' => '(objectClass=inetOrgPerson)',
            'global_search' => true,
            'fuzzy_search' => true,
      ),
);


When viewing the address book, the message is: Internal Server Error!

In the logs RoundCube clean

In the logs IIS registered record:

Code: [Select]
2014-06-09 07:22:05 10.0.2.2 GET / _task=addressbook&_source=domen&_action=list&_remote=1&_unlock=loading1402298525671&_=1402298516233 80 - 10.0.2.4 HTTP/1.1 Mozilla/5.0+(Windows+NT+6.1;+rv:30.0)+Gecko/20100101+Firefox/30.0 500 0 0 335
Where I must look?  :( :'( :-\
« Last Edit: June 09, 2014, 07:29:27 AM by northland »

Offline chatwizrd

  • Jr. Member
  • **
  • Posts: 19
Re: IIS 7.5+roundcube 1.0.1+AD W2008R2 (Reading address book ldaps)
« Reply #1 on: June 09, 2014, 04:40:07 PM »
You have to look in the php error log or the iis error log.

Offline northland

  • Newbie
  • *
  • Posts: 6
Re: IIS 7.5+roundcube 1.0.1+AD W2008R2 (Reading address book ldaps)
« Reply #2 on: June 10, 2014, 05:40:08 AM »
Thank you, chatwizrd!

The logs recorded php:

Code: [Select]
[10-Jun-2014 12:37:19 Europe/Moscow] PHP Warning:  PHP Startup:  in Unknown on line 0
[10-Jun-2014 12:38:43 Europe/Moscow] PHP Warning:  ldap_start_tls(): Unable to start TLS: Can't contact LDAP server in C:\www\mail\program\lib\Roundcube\rcube_ldap_generic.php on line 179
[10-Jun-2014 12:38:43 Europe/Moscow] PHP Fatal error:  Cannot break/continue 1 level in C:\www\mail\program\lib\Roundcube\rcube_ldap_generic.php on line 180