Oracle iPlanet Web Proxy Server 4.0.14 Administration Guide

Building Custom Search Queries

For LDAP services, the Find All Users Whose section enables you to build a custom search filter. Use the fields to narrow search results returned by a Find User search.

The left drop-down list specifies the attribute on which the search will be based. The following tables lists the available search attribute options.

Table 4–2 Search Attribute Options

Option  

Searches for a Match  

Full name 

Each entry’s full name 

Last name 

Each entry’s last name, or surname 

User ID 

Each entry’s user ID 

Phone number 

Each entry’s phone number 

E-mail address 

Each entry’s e-mail address 

The center drop-down list specifies the type of search to perform. The following tables lists the available search type options.

Table 4–3 Search Type Options

Option  

Description  

Contains

Causes a substring search to be performed. Entries with attribute values containing the specified search string are returned. For example, if you know a user’s name probably contains the word "Dylan," use this option with the search string "Dylan" to find the user’s entry. 

Is

Causes an exact match to be found (specifies an equality search). Use this option when you know the exact value of a user’s attribute. For example, you know the exact spelling of the user’s name. 

Isn’t

Returns all entries whose attribute value does not exactly match the search string. Use this option to find all users in the directory whose name is not "John Smith." Note that use of this option can cause an extremely large number of entries to be returned. 

Sounds like

Causes an approximate, or phonetic, search to be performed. Use this option if you know an attribute’s value but do not know the spelling. For example, you do not know if a user’s name is spelled "Sarret," "Sarette," or "Sarett." 

Starts with

Causes a substring search to be performed. Returns all entries whose attribute value starts with the specified search string. For example, you know a user’s name starts with "Miles," but do not know the rest of the name. 

Ends with

Causes a substring search to be performed. Returns all entries whose attribute value ends with the specified search string. For example, you know a user’s name ends with "Dimaggio," but do not know the rest of the name. 

The right text field is used to enter a search string. To display all user entries contained in the directory specified in the Look Within field, type an asterisk (*) or leave this field blank.