[imp] Autoexpand not working for additinal field of LDAP

ANANT S ATHAVALE asa at isac.gov.in
Mon Oct 31 13:05:03 UTC 2011


Dear List,

I am testing Horde Groupware Webmail Edition 4.0.3.

imp/config/prefs.local.php

$_prefs['search_sources']['value'] = json_encode(array('localsql',  
'localldap','favourites'));
$_prefs['search_sources']['locked'] = true;
$_prefs['search_fields']['locked'] = true;
$_prefs['add_source']['value'] = 'localsql';
$_prefs['add_source']['locked'] = true;
$_prefs['search_fields']['value'] =  json_encode(array(
        'localsql' => array('name','email'),
        'localldap' => array('name','email','staffnumber'),
        'favourites' => array('name','email')
));


and

turba/config/backends.local.php

$cfgSources['localldap'] = array(
     // Disabled by default
     'disabled' => false,
     'title' => _("LDAP Directory"),
     'type' => 'ldap',
     'params' => array(
         'server' => 'localhost',
         'port' => 389,
         'tls' => false,
         'root' => 'dc=xxx,dc=xxxx',
         'bind_dn' => 'cn=Manager,dc=xxx',
         'bind_password' => 'xxxxx',
         'sizelimit' => 10,
         'dn' => array('cn'),
         'objectclass' => array('employee'),
         'scope' => 'sub',
         'charset' => 'utf-8',
         'checkrequired' => false,
         'checkrequired_string' => ' ',
         'checksyntax' => false,
         'version' => 3,
     ),
     'map' => array(
         '__key' => 'dn',
         '__uid' => 'uid',
         'name' => 'cn',
         'email' => 'mail',
         'staffnumber' => 'staffnumber',
     ),
     'search' => array(
         'name',
         'email',
         'staffnumber',
     ),
     'strict' => array(
         'dn',
     ),
     'approximate' => array(
         'cn',
     ),
     'export' => false,
     'browse' => false,
);


NOTE:  I am able to search based on staffnumber in Turba and also in  
IMP (if I click on Address book).  But, autoexpand does not work with  
staffnumber.  This was working and working in older HGWE.

Regards,

Anant Athavale.

------------------------------------------------------------------------------
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
------------------------------------------------------------------------------



More information about the imp mailing list