List Info

Thread: Thunderbird and the CalNet Directory, performance improved




Thunderbird and the CalNet Directory, performance improved
user name
2006-03-24 19:02:44
For the curious Thunderbird user, the default LDAP search
filter in 
Thunderbird 1.5 is a long string of OR'd equality matches,
where 
<searchStr> is the user entered search text:

(|(mail=*<searchStr>*)(displayname=*<searchStr>*
)(givenname=*<searchStr>*)(sn=*<searchStr>*))

Thus, if you enter 'Smith', Thunderbird will search for
any ldap entry 
where the:
* email address (mail) contains 'smith'
* displayname contains 'smith'
* firstname (givenname) contains 'smith'
* lastname (sn) contains 'smith'

Enjoy,

-r





Jay Bryon wrote:
> Well, that's weird, I've been using thunderbird for
ages now, and have 
> never had a problem with ldap.  But after I set up the
ldap server 
> link, I would search it usually only via auto-complete
of email 
> addresses when composing emails.  Generally it's been
surprisingly 
> snappy/instantaneous.  Direct searches are the same,
although the 
> mandatory "last, first" format is annoying.
 Searching the other way 
> results in no hits.  Don't know if there's some way
of fixing that.
> Anyway, thanks for fixing things, even if I'm for some
reason 
> unaffected in the first place.
> -Jay
>
>
>
> Rob Chevalier wrote:
>> Attention Thunderbird users,
>>
>> I recently noticed that the default search filter
used by Thunderbird 
>> for LDAP Directory searches is using the
'displayname' attribute; 
>> which is something I've never seen an email client
do before.  
>> Because the 'displayname' attribute was not
indexed, directory 
>> searches performed by Thunderbird were
excruciatingly slow if not 
>> hopeless.
>>
>> Yesterday, I created an index on the
'displayname' attribute in the 
>> production CalNet Directory and, as a result,
Thunderbird searches 
>> are responding very nicely.
>>
>> For information on configuring Thunderbird to use
the CalNet 
>> Directory as an alternate Address Book, please see:
>>
>>  htt
ps://calnet.berkeley.edu/connecting.html#tbird
>>
>> Cheers,
>>
>> Rob Chevalier
>> The CalNet Team
>>
>>
>>
>>
------------------------------------------------------------
------------
>> The following was automatically added to this
message by the list 
>> server:
>>
>> For information about Micronet, including
subscribing to
>> or unsubscribing from its mailing list and finding
out
>> about upcoming meetings, please visit the Micronet
Web site:
>> <http://micronet.be
rkeley.edu/>.
>>
>


------------------------------------------------------------
------------
The following was automatically added to this message by the
list server:

For information about Micronet, including subscribing to
or unsubscribing from its mailing list and finding out
about upcoming meetings, please visit the Micronet Web site:
<http://micronet.be
rkeley.edu/>.
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )