Sun Directory Services 3.1 User's Guide

Adding a New Standard Search

To add a standard search for the uid attribute.

  1. Declare the search definition in the STANDARD_SEARCH_FILTERS line:


    STANDARD_SEARCH_FILTERS= STANDARD_SEARCH_FILTER_PERSON,
    STANDARD_SEARCH_FILTER_LOCALITY,
    STANDARD_SEARCH_FILTER_ORGANIZATION,
    STANDARD_SEARCH_FILTER_WILDCARD, NEW_SEARCH_FILTER_UID

    The label for the new search is NEW_SEARCH_FILTER_UID.

  2. Define the search:


    NEW_SEARCH_FILTER_UID= User ID, (&(objectclass=*)(uid=*{0}*))

    The label to appear in the Search Type option button is User ID, and Deja searches for entries containing the specified value for the attribute uid.

  3. Add additional search results table labels:


    STANDARD_SEARCH_TABLE_LABELS= cn;
    STANDARD_SEARCH_TABLE_NAME_LABEL, telephoneNumber;
    STANDARD_SEARCH_TABLE_PHONE_LABEL, mail;
    STANDARD_SEARCH_TABLE_MAIL_LABEL, uid;User ID

    User ID is added to the search results table headings.

  4. Close Deja and restart it.

    You search type is added to the Standard Search panel.