Chapter 6, Search Attributes, Filters, and Results 63
Modifying Search Attributes for Advanced Searches
Directory Express Search Support for
User ID
Directory Express looks for matches for user ID strings. It does not attempt to
match user ID substrings.
To configure substring matching for user IDs, substring index the uid attribute
and uncomment the appropriate lines in pbconfig/dsgwfilter.conf.
Adding Search Support for Additional
Attributes
The boldface syntax in Example 6.2 shows the addition of preferences for
searching the pagerTelephoneNumber attribute.
Example 6.2 Extending Search Preferences to Include Pager Number
People
““
“Search for”:
“(&(objectClass=person)
“dsgw-people”
subtree
"full name" cn 111111 "" ""
"last name" sn 111111 "" ""
"phone number" "telephoneNumber" 111011 "" ""
"e-mail address" "mail" 111111 "" ""
"user id" "uid" 111111 "" ""
"title" title 111111 "" ""
“pager number” pagerTelephoneNumber 111011 "" ""
As a result of adding this syntax to dsgwsearchprefs.conf:
• A pager number selection appears in the pull-down menu on the Advanced
Search form.
• The gateway searches the pagerTelephoneNumber attribute of all entries
within the scope of the search.
• The gateway looks for values that contain, end with, start with, or are
identical to the search string entered by the user. It does not look for values
that sound like the search string entered by the user.