Installation guide

Table Of Contents
Adding Search Support for a New Object
Chapter 6 Search Attributes, Filters, and Results 75
People
""
"Search for":
"(&(objectClass=person)(objectClass=examplePerson)"
"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 "" ""
"birthdate" dateOfBirth 111011 " " " "
As a result of adding the syntax shown in the example:
The gateway will include
examplePerson entries in its search for persons.
•A
birthdate field will appear on the Advanced Search form.
The gateway will search the
dateofBirth attribute of all entries within the scope of
the search.
The syntax added to
dsgwfilter.conf in the following example defines the search
values for the
dateOfBirth attribute:
"[0-9][0-9]/[0-9][0-9]/[0-9]0-9]" " " "
(dateOfBirth=%v))" "date of birth is"
(dateOfBirth=%v*))" "date of birth starts with"
Creating a New Search Object
Adding a new search object that is not similar to existing search objects requires:
A new entry in
dsgwsearchprefs.conf.
A new entry in the dsgwfilter.conf.
A new search results template.
The syntax in the following example specifies that the search definition for
OrgRole will
search the
cn, l, roleOccupant, description, and telephoneNumber attributes:
"Org-Roles"
""
"Search For:"
"(&(objectClass=organizationalRole)
"dsgw-orgrole"