[imp] Unable to search LDAP sources through IMP Compose

eculp eculp at encontacto.net
Sat Sep 20 13:03:27 UTC 2008


Quoting Robin Polak <robin.polak at gmail.com>:

> On Fri, Sep 19, 2008 at 15:26, eculp <eculp at encontacto.net> wrote:
>
>> Quoting Robin Polak <robin.polak at gmail.com>:
>>
>>  I have several LDAP sources defined in Turba, which are able to be
>>> searched
>>> via the Turba search interface. However, when I click on Address Book from
>>> within a Compose window through IMP I am able to see all the sources
>>> although I am unable to search the LDAP sources while I am able to search
>>> the SQL based Personal Addressbook.  Does anyone have any idea where I can
>>> look to troubleshoot this problem?
>>>
>>>
>> What do you have in your address book prefs such as:
>> $_prefs['search_sources']
>> $_prefs['search_fields']
>> $_prefs['add_source']
>>
>> good luck,
>>
>> ed
>> --
>> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>

You might want to read the commented out instructions before each.  I  
will put  what I have as an example.




> $_prefs['search_sources'] = array(
>     'value' => "",

$_prefs['search_sources'] = array(
     'value' => "shared\tCorporativo\tpersonal",
// This corresponds to my three defined ldap addressbooks in turba/sources.php
// such as:
// $cfgSources['Corporativo'] = array(
// $cfgSources['shared'] = array(
// $cfgSources['personal'] = array(

>     'locked' => false,
>     'shared' => false,
>     'type' => 'implicit');
>
> $_prefs['search_fields'] = array(
>     'value' => "",
// thes are my prefs and ymmv. Be sure and read the comments above each.

$_prefs['search_fields'] = array(
     'value' => "shared\temail\tname\tcompany",

>     'locked' => false,
>     'shared' => false,
>     'type' => 'implicit');
>
> $_prefs['add_source'] = array(
>     'value' => '',
// my selection
$_prefs['add_source'] = array(
     'value' => 'shared',

> //  'value' => 'localsql',
>     'locked' => false,
>     'shared' => true,
>     'type' => 'implicit'
> );
>
> --
> Robin Polak
> E-Mail: robin.polak at gmail.com
> V. 917-494-2080
> --
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>



More information about the imp mailing list