Summary | Autocomplete address does not work for additional fields of LDAP |
Queue | Horde Groupware Webmail Edition |
Queue Version | 4.0.4 |
Type | Bug |
State | No Feedback |
Priority | 2. Medium |
Owners | |
Requester | asa (at) isac (dot) gov (dot) in |
Created | 12/08/2011 (4973 days ago) |
Due | |
Updated | 08/27/2013 (4345 days ago) |
Assigned | 12/09/2011 (4972 days ago) |
Resolved | 08/27/2013 (4345 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
does not work at all. It only works for local sql backend but nothing
seems to work for ldap. When the recepient addres is typed in, I can
see that turba queries ldap server and results are returned from the
ldap server log but no autocomplete suggestions are shown..
Everything works in Turba with my ldap addressbooks. There are
absolutely no problems with it. My only problem is autocomplete.
I checked debug logs and there are absolutely nothing interesting
except that a request is made to the ldap server. But if needed I can
provide debug logs as well.
Is there any other setting besides 'Prefs-> Mail-> Addressbooks' that
relates to autocomplete and I am missing? I didn't have any problems
with H3 before.
bug #10961and this one (#10843) related?-ANANT
it does not work for the additional LDAP attribute (staffno).
According to my knowledge, hook is giving correct output, but the
functionality is not working.
So, Neither hook works nor hard coding.
-ANANT.
do search based on the new attribute. Please see this thread.
not do search based on the new attribute. Please see this thread.
search_sources/search_fields hook?
preferences, are the correct fields enabled?
do search based on the new attribute. Please see this thread.
http://lists.horde.org/archives/imp/Week-of-Mon-20111031/052825.html
-Anant
search_sources/search_fields hook?
And does the hook actually work at all? If you go to the preferences,
are the correct fields enabled?
New Attachment: hooks.local.php
enabled all cases of functions under
public function prefs_init($pref, $value, $username, $scope_ob)
State ⇒ Feedback
enabled all cases of functions under
public function prefs_init($pref, $value, $username, $scope_ob)
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Groupware Webmail Edition
Summary ⇒ Autocomplete address does not work for additional fields of LDAP
Type ⇒ Bug
Priority ⇒ 2. Medium
$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.