The directory server interface provides two types of searches:
Both types of searches permit searching for any of the entry types described in Table D.1.
Table D.1 Entry Types That Can Be Specified
Type of Entry
| Description
|
People
| Entries that describe a person
|
NT People
| Entries that describes an NT user.
|
Groups
| Entries that describe a group. Groups may be defined System Administrators, Tech Writers, or all the people interested in Fishing, or all the Color Printers at the site. Groups can also contain other groups.
|
NT Groups
| Entries that describe a group of NT users.
|
Organization
| Entries that describe an organization. An organization is usually a single, large entity such as a corporation or a university. An organization represents a major, static, subdivision or branch of the directory.
|
Org-Units
| Entries that describe an organization unit. Organizational units describe units within an organization, such as Accounting, Marketing, or Biology department.
|
Anything
| Entries that match the specified search criteria. Anything useful when the entry you are searching for is not a person, group, or organization
|
After the directory server completes the search, the directory server interface displays the search results, which provide links to all matching entries. Clicking an entry displayed on the search results list displays detailed information about the entry. If the entry is a person, you can also choose to view the person's digital business card (vCard).
Performing a Standard Search
Depending on what is entered, Standard Search determines whether to find entries that exactly match the criteria, entries that contain the criteria, or entries that contain words or syllables that sound like the criteria. An LDAP search filter can also be used in the standard search field.
To perform a standard search:
Select the Standard Search tab. The Standard Search form appears.
Enter the value to find in the Search for field. This field is not case sensitive. Any of the following values can be entered:
Click Submit. The form data is submitted to the directory server and the directory server searches for any entries that match exactly, match partially, or sound like the value supplied. Resulting matches are displayed in the search results table.
Name Search Functionality
When the search string specifies characters other than numbers or does not contain an at (@) symbol, the standard search attempts to find full names, first names, or last names that match exactly, match partially, or sound like the supplied value.
For example, specifying the string "son" could return:
Name and Initial Search Functionality
When the search string specifies the following items in the following order, the standard search executes a search for a first initial followed by a last name:
For example, specifying the string "P.Ande" could return
Similarly, if the search string specifies the following items in the following order, the standard search executes a search for a first name followed by a last initial:
For example, specifying the string "M.Pai" could return
Approximate (or "sounds-like") and substring searches are not performed in this case.
Searching for Phone Numbers
Standard search automatically searches for a phone number if the value entered consists only of numeric characters. This type of search is an "ends with" search. That is, the directory server searches for any phone numbers that end with the specified string. For example, entering the sting "123" results in the display of all phone number that end with 123. A single hyphen is permitted in the search string if at least one digit precedes it.
Searching for Email Addresses
Standard search searches for matching email addresses if an at (@) symbol is provided. Standard Search first searches for any email addresses that exactly match the value entered. For example, specifying the string "rafi@" could return the exact match:
or, if no match exists for "rafi@" in the directory, the search could return:
Using LDAP Search Filters
An LDAP search filter can be used to search for entries with a specific attribute value. The standard search assumes that any string containing an equal sign is an LDAP search filter. For example, specifying "cn=*eve*" will initiate a substring search for any common name containing the string "eve".
When specifying attributes within an LDAP search filter, use the attribute label used by the directory server internally rather than the attribute field name as displayed in the gateway's search results.
Advanced Search
The advanced search is designed to search for entries that have specific values for certain attributes (for example, a person entry whose email address is a specified value). Advanced search also allows searches for entries that do not include a specified attribute value (For example, all the people whose last name is not "Smith").
Advanced search performs an exact search, returning entries that exactly match the words entered. There are four fields used to construct an advanced search. Constructed as follows, these four fields represent a sentence specifying the search:
Find: [a type of entry] where the: [attribute] [type of search] [search string]
The options for the first three of these fields are provided in pull-down menus. The fourth field contains the actual search string. For example:
Find: [People] where the: [Last Name] [is] [Supriya]
Find: [People] where the: [Full Name] [sounds like] [Lloyd Daniels]
Performing an Advanced Search
Select the Advanced Search tab. the The Advanced Search form appears.
Select the type of entry to search for.
Select the attribute to search for from the "where the" field pull-down menu. The choices available depend on the entry type selected in the Find field (see Table D.2).
Select the matching type to use in the search.
Enter the search string in the text box and click "Search." The form data is submitted and the directory server searches for entries that exactly match the value supplied. The resulting matches are displayed as a search results list.
Viewing Search Results
When search form data is submitted, the search results displayed depend on whether there were no matches, a single match, or multiple matches.
No matches
A search result that returns no matches means one of the following has occurred:
A Single match
When a single match is returned in a response to an "is" search, the gateway displays all details for the entry.
Multiple matches
When multiple matches are found in response to a search, the gateway displays a table listing each of the matching entries and relevant information for each entry, such as the entry's phone number and email address.
Search Tips
Numeric Values
When search for a numeric value, such as a room number or a telephone number, be sure to include all spaces and leading zeroes.
Blank Spaces
The directory server interface strips all leading and trailing blank spaces from the search criteria.