The syntax added to dsgwfilter.conf in Example 6.4 defines the search values for the dateOfBirth attribute. 6.5 specifies that the search definition for OrgRole searches the cn, l, roleOccupant, description, and telephoneNumber attributes. The syntax in Example 6.6 specifies a list of filters for searching attributes in the orgRole object class. Netscape recommends modifying existing search filters in dsgwfilter.conf to support new user data patterns, instead of creating new filters. Standard searches use the filters associated with the first matching pattern only.
Advanced searches use all filters defined for the entry.
The syntax in Example 6.8 allows users to search person entries by birthday or birth month. Make sure to place new patterns near the top of the pattern definitions for a given object. Patterns near the end of the entry are more general, and match many different strings. When a user submits a standard search or advanced search from the gateway, the gateway constructs a search string and filter for the corresponding search object and queries the Directory Server. The Directory Server responds with matching entries in the LDAP database.