Closed Bug 169872 Opened 22 years ago Closed 19 years ago

Customizing query in LDAP searches

Categories

(SeaMonkey :: MailNews: Address Book & Contacts, enhancement)

x86
Windows 2000
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED EXPIRED

People

(Reporter: dominique.volpe, Assigned: racham)

Details

When I search someone in a directory, the LDAP query return all entries whose
names (cn) or mail contains the word I typed.

I could of course narrow my query, using "advanced" button.

I want to be able to customize the default query (for example retrieving entries
whose "cn" begins with what I typed). This template could be set within prefs.js.

My request doesn't apply to autocomplete filter template :
ldap_2.servers.mydirectory.autoComplete.filterTemplate


Thank you.
I found this pref : "mail.addr_book.quicksearchquery.format"
But the query format seems to apply to every directory server.
We have three directories and I would like to specify different query formats
for each directory.
Do you have some knowledge about this ?


refs :
http://www.mozilla.org/mailnews/arch/addrbook/hiddenprefs.html
http://lxr.mozilla.org/mozilla1.0/source/mailnews/addrbook/src/nsAbQueryStringToExpression.cpp#278
http://lxr.mozilla.org/mozilla1.0/source/mailnews/addrbook/src/nsAbLDAPProperties.cpp#76

QA Contact: nbaca → gchan
Product: Browser → Seamonkey
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
You're looking for the hidden ldap_2.servers.YourServer.autoComplete.filterTemplate setting.

See http://www.mail-archive.com/mozilla-directory@mozilla.org/msg00817.html for more information on this property.
You need to log in before you can comment on or make changes to this bug.