To add a standard search for the uid attribute.
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.
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.
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.
Close Deja and restart it.
You search type is added to the Standard Search panel.