DN Mapping Rules

In this section we'll define the DN mapping rules for matching entries in the HR ConnectorView with those in the MetaView.

There are 13 steps in this procedure.

Using the DN Mapping Rule Editor can be challenging. Be sure to read and follow every step in this procedure exactly as it is written.

Step 1: Right-click on the HR ConnectorView icon

Locate the HR ConnectorView icon in the Management Center window. When you right-click on this icon you should see a new popup menu. Select Configure....


Step 2: Click on the Configuration to MV tab

When the "Configuring ConnectorView" window appears, click on the Configuration (To MV) tab.


Step 3: Use the DN mapping rule editor

You should now see the "Configuration to MV" screen. Leave the "Filters" and "Join Rules" fields set to None.

We're going to create a new DN mapping rule, so click on the . . . button next to the "DN Mapping Rules" field.

That will cause this window to appear:


Step 4: Create a new DN mapping rule

Right-click on the icon for Rules, and when the small menu appears, select Add new rule....

You should now see a new window labeled Choose Rule Type, accept the default, Create a Grammar-based rule and click OK.


Step 5: Enter a name for the new rule

When you see the DN Mapping Rule Editor window, enter a name for the new rule: UID Rule. Under Rule Definition, use the pull-down menu to select the HR ConnectorView. This is the ConnectorView we created earlier.

When you've done this, click on Edit to specify the Selection Criteria.


Step 6: Select attribute and expression

When you see the "DN Mapping Rule - Selection Criteria" window, select employeenumber from the list of attributes. (Hint: this is a long list, so enter a few letters like "emp" to quickly scroll down to that part of the list.)

Also select Present under the list of Expressions. Click Insert when you're finished.

Make sure you select BOTH rules before using the "Combine with logical AND" operation.

Step 7: Combine the two expressions

Highlight both available conditions, then use the Operation pulldown menu to select Combine using Logical AND. This will combine the two seperate statements into one.

After you've combined the two statements the window should look like this:


Step 8: Specify selection criteria

In the "Select criteria" field, enter uid=, then right-click to bring up the pop-up menu shown below. Select Insert Token.

Select employeenumber, then click Insert Token.

Make sure the DN mapping for the HR ConnectorView is set correctly before continuing.

Step 9: Verify DN mapping rule

At this point the "DN Mapping Rule Editor" window should show the following configuration information:

  • Rule name: UID Rule
  • Select MetaView or ConnectorView: HR ConnectorView
  • Selection criteria: (((%operation%==AddFromCVToMV) OR (%operation%==AddFromMVToCV)) AND (%employeenumber%=@))
  • If the selection criteria are met... : uid=%employeenumber%

Click OK. The "DN Mapping Rules Configuration" window should show a new icon representing the rule we've just created.


Step 10: Add the new rule to a rule set

In the world of Meta-Directory, all Rules must be part of a Rule Set, so now we must define a new Rule Set.

Right-click on the Rule Sets icon and select Add new rule set...


Step 11: Define a new Rule Set

When the "DN Rule Set Editor" window appears, assign the new rule a name of UID Rule Set.


Step 12: Insert the rule into the rule set

Select the UID Rule and click the Insert >> button. This should cause the UID Rule to appear in the right-hand portion of the window.

Click OK. The "DN Mapping Rules Configuration" window should now show an icon representing the UID Rule Set.

Click Close.


Step 13: Apply the new Rule Set

Now we're ready to apply the new rule. In the "Configuring ConnectorView HR ConnectorView" window, under the "DN Mapping Rules" field, use the pull-down menu to select the UID Rule Set.

Make sure the Filters and JoinRules fields are set to - None -. Click OK.


Summary

In this section we created a new Rule Set called "UID Rule Set" with one rule (the UID Rule) in it. This rule specifies matching conditions between the HR ConnectorView and the MetaView. At this point the HR ConnectorView has no filtering conditions and no Join Rules.

In the next section we'll configure attribute flow rules for the HR ConnectorView.


Top of Page
Copyright © 2000
Sun-Netscape Alliance.