Author Topic: LDAP error: "SERVICE CURRENTLY NOT AVAILABLE! Error No. [700]"  (Read 6968 times)

Offline SadGrl

  • Jr. Member
  • **
  • Posts: 11
Roundcube version 0.7.2
Active Directory LDAP

So in Roundcube, our LDAP automatically pulls up a list of all its members.  If I click any of the users from this list, I get their contact info no problem.  *BUT* if I use the Search --  althought I get the filtered results fine, if I select one of the found users from the list that appears, I get a "SERVICE CURRENTLY NOT AVAILABLE!  Error No. [700]" error on the right-most pane and no contact information for that user.

Here is the LDAP section in my main.php.inc

$rcmail_config['ldap_public'] = array (
  'My LDAP' =>
  array (
   'name' => 'Global Address Book',
   'hosts' =>
    array (
      0 => 'ldapserverhostname',
   ),
    'sizelimit' => 6000,
    'port' => 389,
    'use_tls' => false,
   'user_specific' => false,
    'base_dn' => 'OU=addressbook,DC=domain',
    'bind_dn' => 'domain\addressbook',
    'bind_pass' => 'password',
    'writable' => false,
    'ldap_version' => 3,
    'search_fields' =>array('mail','cn'),
    array (
      0 => 'mail',
      1 => 'cn',
     2 => 'sn',
     //3 => 'givenName',
     3 => 'gn',
    ),
    'name_field' => 'cn',
   'email_field' => 'mail',
    'surname_field' => 'sn',
    //'firstname_field' => 'givenName',
     'firstname_field' => 'gn',
    'sort' => 'sn',
    'scope' => 'list',
    'filter' => 'mail=*',
    'fuzzy_search' => true

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: LDAP error: "SERVICE CURRENTLY NOT AVAILABLE! Error No. [700]"
« Reply #1 on: April 28, 2012, 01:11:12 AM »
$rcmail_config['ldap_public'] = array (
  'My LDAP' =>
Space here isn't allowed. Change to 'my_ldap'.

Offline SadGrl

  • Jr. Member
  • **
  • Posts: 11
Re: LDAP error: "SERVICE CURRENTLY NOT AVAILABLE! Error No. [700]"
« Reply #2 on: April 30, 2012, 08:41:43 AM »
$rcmail_config['ldap_public'] = array (
  'My LDAP' =>
Space here isn't allowed. Change to 'my_ldap'.

That was the problem!  Thanks!