Author Topic: LDAP as ldap_public fail to show item result information (roundcubemain 0.6)  (Read 2539 times)

Offline hjacas

  • Newbie
  • *
  • Posts: 2
    • http://www.etecsa.cu
Hello,

Last night I install the roundcube new version (v0.6) and found the following problem:

I defined our central Directory Service (389 project) as Public Address book (writable => false) using "Directorio Empresarial" as name.

When I select "Directorio Empresarial" it shows me the first 40 contacts. When I click any of them it shows me the rest of the item information.

I found the problem in the searches.

When I realize a search, it finds the requested elements for me but when i click any of them the following message appears:

SERVICE CURRENTLY NOT AVAILABLE!

Bug Not [700]

Can you help me?

The config for ldap_public main_inc.php are:

***********************************************************************
$rcmail_config['ldap_public']['example.com'] = array(
        'name'          => 'Directorio Empresarial',
        'hosts'         => array('dsn1.example.com'),
        'port'          => 389,
        'base_dn'       => 'ou=example.com,ou=People,dc=example,dc=com',
        'bind_dn'       => '',
        'bind_pass'     => '',
        'ldap_version'  => '3',
        'search_fields' => array('mail', 'cn', 'ou'),
        'fieldmap' => array(
            // Roundcube  => LDAP
            'name'        => 'cn',
            'surname'     => 'sn',
            'firstname'   => 'givenName',
            'email'       => 'mail',
            'phone:home'  => 'homePhone',
            'phone:work'  => 'telephoneNumber',
            'phone:mobile' => 'mobile',
            'street'      => 'street',
            'zipcode'     => 'postalCode',
            'organization' => 'ou',
          ),
        'sort'          => 'cn',
        'scope'         => 'sub',
        'filter'        => '(&(accountStatus=active)(!(cn=resp.*)))',
        'fuzzy_search'  => true,
        'vlv'           => false,
        'numsub_filter' => '(objectClass=organizationalUnit)',
        'sizelimit'     => '0',
        'timelimit'     => '10',
        'writable'      => false,
);

*****************************************************************************
Thanks for your attention,

Hector Jacas

Offline hjacas

  • Newbie
  • *
  • Posts: 2
    • http://www.etecsa.cu
The problem was solved changing this parameter:

$rcmail_config['ldap_public']['example.com']    

to

$rcmail_config['ldap_public']['example']