Defining a filter to generate a DN


In the inetorgperson example, an object's distinguished name looks something like this:

*uid=abarnes, ou=People, o=remedy.com*

To define a AR System filter to construct the distinguished name using the inetorgperson data source

  1. In Developer Studio, select File > New > Filter.
  2. Select the server where you want to create the filter, and click Finish.
  3. Right-click the Associated Forms panel, and select Expand All Panels.
  4. In the Associated Forms panel, click Add.
  5. In the Form Selector dialog box, select the inetorgperson form and click OK.
  6. In the Execution Options panel, select the Submit check box.
  7. Right-click the If Actions panel, and select Add Action > Set Fields.
     A Set Fields subpanel appears, which includes a field-value table (see the following figure).
  8. Click the first cell in the Field column, and then click the ellipsis button (...)
  9. Use the Field Selector to select the Distinguished Name field, and click OK.
  10. In the corresponding Value cell, enter the following expression:

    "uid=" + $User ID$ +  ", ou=People, o=remedy.com"

    inetorgperson_filter.gif

  11. Select File > Save.
  12. Name your filter inetorgperson:create, and click OK.

Fields used in the inetorgperson example

In the inetorgperson example, the following fields are needed:

Field

Field properties

Distinguished Name

Entry Mode: Optional

Read/Write Default Value: none

Vendor Information Column: dn

Object Class

Entry Mode: Required

Read Only Default Value: top, person, organizationalPerson, inetorgperson

Vendor Information Column: objectclass[,]*

Last Name

Entry Mode: Required

Read/Write Default Value: none

Vendor Information Column: sn

Common Name

Entry Mode: Required

Read/Write Default Value: none

Vendor Information Column: cn

Organization Unit

Entry Mode: Required

Read/Write Default Value: People

Vendor Information Column: ou[,]*

In this example, the form looks like the form in the following figure.

inetorgperson_sample_form.gif

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*