Sun Directory Services 3.1 User's Guide

Searching for an Entry

Use Search when you want to find a NIS entry in the directory. By default you can search four NIS maps with this function; users, aliases, hosts and groups. Figure 3-2 shows the Deja Search panel for NIS users.

The Deja.properties file on the directory server defines the NIS maps available in Deja. For information on adding or modifying NIS maps see "NIS Parameters".

Figure 3-2 Deja Search Panel for NIS Users

Graphic

Searching for a NIS Entry

  1. Click on the Search icon, or select Search from the Entry menu.

    The Search panel is displayed.

  2. Select the map you want to search from the Map Name option button.

    Default options are Users, Aliases, Hosts or Groups.


    Note -

    To modify the default NIS maps, or create new NIS maps, change the definitions in the Deja.properties file on the directory server. See "NIS Parameters" for information.


  3. Type the text string you want to search for in the NIS Key text field.

    The search can include the wildcard character *.

  4. Click Search to start the search.

    The search results are displayed in the search results list and the number of entries found is displayed in the status bar. If there are no matches, the search results list is empty and the status bar indicates that no entries were found.

  5. To stop the search at any time, click the Stop button.

    The search is stopped and no results are returned.

  6. Click the Clear button to clear the search text field.

Search Results List

Search results are displayed in a list below the search criteria.

The headings of the search results table depend on the map being searched:

MapName 

Attributes 

users 

cn, uid, uidNumber, gidNumber, homeDirectory 

aliases 

cn, rfc822mailMember 

hosts 

cn, ipHostNumber, macaddress 

groups 

cn, gidNumber, memberUid 

    To view an entry from the search results list, double-click on the entry's name.

    The view entry window is displayed, and the entry is highlighted in the browser window.