[Tickets #10843] Autocomplete address does not work for additional fields of LDAP

bugs at horde.org bugs at horde.org
Thu Dec 8 12:12:23 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10843
------------------------------------------------------------------------------
  Ticket             | 10843
  Created By         | asa at isac.gov.in
  Summary            | Autocomplete address does not work for additional
                     | fields of LDAP
  Queue              | Horde Groupware Webmail Edition
  Version            | 4.0.4
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


asa at isac.gov.in (2011-12-08 12:12) wrote:

My turba/backends.local.php has LDAP configuration as below.

$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',
     'nickname' => 'staffnumber',
),
'search' => array(
     'name',
     'email',
     'nickname',
),
'strict' => array(
     'dn',
),
'approximate' => array(
     'cn',
),
'export' => false,
'browse' => false,
);

My IMP preferences are: imp/prefs.local.php

$_prefs['search_sources']['locked'] = true;
$_prefs['search_sources']['hook'] = true;
$_prefs['search_fields']['locked'] = true;
$_prefs['search_fields']['hook'] = true;
$_prefs['add_source']['locked'] = true;
$_prefs['add_source']['hook'] = true;


imp/hooks.local.php

enabled all cases of functions under

   public function prefs_init($pref, $value, $username, $scope_ob)

But, even after this, I am unable to auto complete address based on  
nickname/staffnumber.  This was working in H3.





More information about the bugs mailing list