Справочник Пользователя для Red Hat Version4.1

Скачать
Страница из 156
Chapter 6, Search Attributes, Filters, and Results 61
Modifying Search Attributes for Advanced Searches
Figure 6.3 Matching Type Pull-Down on Advanced Search Form
Specifying Search Attributes for Person
The dsgwsearchprefs.conf syntax in Example 6.1 specifies that the cn, sn, 
telephoneNumber, mail, uid, and title attributes are used in a search for person 
entries.
Example 6.1 Search Attributes for Person Entry
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
""
""
END
"is"
"(%a=%v))"
"is not"
"(!(%a=%v)))"
"sounds like"
"(%a~=%v))"
"starts with"
"(%a=%v*))"
"ends with"
"(%a=*%v))"
"contains"
"(%a=*%v*))"
END