Creating A New Search Object - Red Hat DIRECTORY SERVER 7.1 - GATEWAY CUSTOMIZATION Manual

Gateway customization guide
Table of Contents

Advertisement

People
""
"Search for":
"(&(objectClass=person)(objectClass=examplePerson)"
"dsgw-people"
subtree
"full name"
"last name"
"phone number"
"e-mail address"
"user id"
"title"
"birthdate"
As a result of adding the syntax shown in the example:
The gateway will include
A
field will appear on the Advanced Search form.
birthdate
The gateway will search the
the search.
The syntax added to
dsgwfilter.conf
values for the
dateOfBirth
"[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
A new search results template.
The syntax in the following example specifies that the search definition for
search the
,
,
cn
l
roleOccupant
"Org-Roles"
""
"Search For:"
"(&(objectClass=organizationalRole)
"dsgw-orgrole"
cn
sn
"telephoneNumber"
"mail"
"uid"
title
111111 "" ""
dateOfBirth
examplePerson
dateofBirth
in the following example defines the search
attribute:
dsgwfilter.conf.
,
description
Adding Search Support for a New Object
111111
""
111111
111011
111111
111111
""
111011
entries in its search for persons.
attribute of all entries within the scope of
, and
telephoneNumber
Chapter 6
Search Attributes, Filters, and Results
""
""
""
""
""
""
""
""
" "
" "
will
OrgRole
attributes:
75

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 7.1

Table of Contents