[prev in list] [next in list] [prev in thread] [next in thread] 

List:       imp
Subject:    [imp] Autoexpand not working for additinal field of LDAP
From:       ANANT S ATHAVALE <asa () isac ! gov ! in>
Date:       2011-10-31 13:17:03
Message-ID: 20111031130510.A892E425513A () lists ! horde ! org
[Download RAW message or body]

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.
------------------------------------------------------------------------------

-- 
IMP mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic