Sun Java System Web Server 6.1 SP10 Administrator's Guide

Finding User Information

Before you can edit a user entry, you must display the associated information. To find the specific user information, perform the following steps:

ProcedureTo find the specific user information

  1. Access the Administration Server and choose the Users and Groups tab.

  2. Click Manage Users.

  3. Select a directory service from the Select Directory Service drop-down list and click Select.

    For directory services of type Key File or Digest File, a list of users is displayed. For directory services of type LDAP Server, search fields are displayed.

  4. Find user information.

    For Key File and Digest File, click the link for the user to display the edit form and make changes. For detailed information about the edit form, see the online help.

    For LDAP Server, do the following:

    1. In the Find user field, enter some descriptive value for the entry that you want to edit. You can enter any of the following in the search field:

      • A name: Enter a full name or a partial name. All entries that equally match the search string will be returned. If no such entries are found, all entries that contain the search string will be found. If no such entries are found, any entries that sounds like the search string are found.

        • A user ID:

          • A telephone number: If you enter only a partial number, any entries that have telephone numbers ending in the search number will be returned.

          • An email address: Any search string containing an at (@) symbol is assumed to be an email address. If an exact match cannot be found, then a search is performed to find all email addresses that begin with the search string.

          • An asterisk (*) to see all of the entries currently in your directory. You can achieve the same effect by simply leaving the field blank.

          • Any LDAP search filter: Any string that contains an equal sign (=) is considered a search filter.

            As an alternative, use the drop-down menus in the “Find all users whose” field to narrow the results of your search.

    2. In the Look within field, select the organizational unit under which you want to search for entries.

      The default is the directory’s root point (or top most entry).

    3. In the Format field, choose either On-Screen or Printer.

    4. Click Find.

      All users in the selected organizational unit are displayed.

    5. In the resulting table, click the entry you want to edit.

      The user edit form is displayed. Edit the information as described in the online help.

    6. Click Save Changes.

      The changes are made immediately.

Building Custom Search Queries

For LDAP services, the “Find all users whose” field allows you to build a custom search filter. Use this field to narrow down the search results returned by a “Find user” search.

The “Find all users whose” field provides the following search criteria:

The available search attribute options are described in the following table:

Table 3–3 Search Attribute Options

Option Name  

Description  

full name 

Search each entry’s full name for a match. 

last name 

Search each entry’s last name, or surname for a match. 

user id 

Search each entry’s user id for a match. 

phone number 

Search each entry’s phone number for a match. 

email address 

Search each entry’s email address for a match. 

unit name 

Search each entry’s unit name for a match. 

description 

Search each organizational unit entry’s description for a match. 

The available search type options are described in the following table:

Table 3–4 Search Type Options

Option Name  

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 an 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. That is, this option specifies an equality search. Use this option when you know the exact value of an user’s attribute. For example, if you know the exact spelling of the user’s name, use this option. 

isn’t

Returns all the entries whose attribute value does not exactly match the search string. That is, if you want to find all the users in the directory whose name is not “John Smith,” use this option. Be aware, however, that use of this option can cause an extremely large number of entries to be returned to you. 

sounds like

Causes an approximate, or phonetic, search to be performed. Use this option if you know an attribute’s value, but you are unsure of the spelling. For example, if you are not sure if a user’s name is spelled “Sarret,” “Sarette,” or “Sarett,” use this option. 

starts with

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

ends with

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

To display all of the users entries contained in the Look within directory, enter either an asterisk (*) or simply leave this text field blank.