Author Topic: LDAP contacts auto search show "Application Error (700): "  (Read 5364 times)

Offline akong

  • Newbie
  • *
  • Posts: 6
LDAP contacts auto search show "Application Error (700): "
« on: November 03, 2014, 02:19:15 AM »
Hello,
My roundcube is 1.0.2 version.
I have used ldap to get contact user list.But if I delete old contact list and replace new contact list.It's will show Application Error (700): Addressbook source (( Shanghai ) Editor_EC) not found!
My ldap setup like follow.
Quote
$rcmail_config['ldap_public']['( Shanghai ) Editor_CE'] = array(
        'name' => '( Shanghai ) Editor_CE',
        'hosts' => array('180.166.0.42'),
        'port' => 389,
        'use_tls' => false,
        'user_specific' => true,
        'base_dn'=> 'OU=CE,OU=Edit,OU=Office Staff,OU=Staff,OU=Shanghai,OU=Linguitronics,DC=linguitronics,DC=com',
        'bind_dn' => 'elite@linguitronics.com',
        'bind_pass' => 'elite',
        'writable'=> false,
        'search_fields' => array('mail', 'cn'),
        'name_field' => 'cn',
        'firstname_field' => 'givenName',
        'surname_field' => 'sn',
        'email_field' => 'mail',
        'scope' => 'sub',
        'filter' => '(&(mail=*)(!(mail=TRUE)))' ,
        'sort' => 'cn',
        'fuzzy_search' => TRUE,
        'ldap_version'  => 3);
The "Editor EC" isn't exist and replace Editor_CE.But It's will show this error when I add new mail and use auto search user function.How to fix it?

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: LDAP contacts auto search show "Application Error (700): "
« Reply #1 on: November 03, 2014, 06:32:08 AM »
As stated in default.inc.php: Array key must contain only safe characters, ie. a-zA-Z0-9_

Offline akong

  • Newbie
  • *
  • Posts: 6
Re: LDAP contacts auto search show "Application Error (700): "
« Reply #2 on: November 03, 2014, 08:25:59 PM »
I have think about it.But the name "Editor_EC" is older and replace by "Editor_CE". The error is show "Editor_EC" is not found.It's really not found.What is this wrong?