The following procedure shows how to configure an AD mapping rule. Although most parameters are reasonably straightforward, pay particular attention to the Directory Object field, which requires use of a special AD browser.

Procedure

  1. In the console menu, click Rules > Policies.
    The Policies page opens and shows a list of all available policies.
  2. Click the Mappings tab.

    The Active Directory Policy Mappings page displays together with the Policy Mappings table, initially showing only the default rule.

    The Active Directory Policy Mappings page showing the mappings table
    Note: If no Mapping tab appears, the AD mapping interface has not been enabled. Go to the General tab of the System Administration page and enable the feature.
  3. On the Active Directory Policy Mappings page, click Add Rule to display the Active Directory Policy Mapping Rule panel in which you enter the rule parameters.
    The Policy Mapping Rule page showing the rule parameters
  4. Select the Computer Object to Test (Computer, User, or Computer and User) from the dropdown menu. In most cases, Computer is the best choice.
  5. Select the Relationship between the data of the object tested and the Directory Object specified in the rule.

    The choice for this field changes the choices available in the other fields.

    In this field, you can specify that objects must be in a OU or domain, a security group, in no domain, or that they exactly match the directory object you choose (the “is” choice on the Relationship menu). Generally, it is best to choose a relationship that maps multiple computers to a policy rather than one that singles out an individual computer or user.

    The Policy Mapping Rule page showing the rule parameters and the Relationship field menu
  6. Choose the Directory Object that the data from the tested computer must match.
    1. Click in the Directory Object field to open the AD browser.

      The browser opens immediately below the Directory object field. The left panel is labeled Search in, and shows a tree of your AD domains.

      The Relationship field showing the selection "is in OU or domain" and the AD browser for the Directory Object field

      • To expand the AD tree in the left panel, click on the plus button next to the node to expand.
      • To collapse the view on the left, click the minus button next to the node to collapse.
    2. Click the object in the left pane that defines the scope of your search.

      Example: If you have two domains, you might click one of them, such as DC=hq,DC=xycorp,DC=Local.

      The AD browser for the Directory Object field showing the domain selected

    3. If you see the object in the right panel that you want to use for this rule, double-click it. The object, including full information about its location in the AD object tree, appears in the Directory Object field of the Rule Parameters panel and the browser will close.
      The Rule Parameters showing the Directory Object field populated with the selected domain
    4. If your actions did not automatically close the browser, click the X button in the top right corner to close it.

    There are additional options for using the directory object browser. See AD Object Browser Options for more information.

  7. From the Policy to Apply dropdown menu, select the policy you want assigned to computers that meet the requirements of this rule. Only existing policies appear on the dropdown — if the policy for this rule has not been created yet, cancel the creation of this rule and go to the Policies page to create the new policy.
    The Rule Parameters showing the fields populated
  8. When you have entered all of the parameters for the rule, click Save. A newly created rule goes to the bottom of the table of AD rules, just above the default rule, and all rules above it take precedence. In the example, the rule instructs the Carbon Black App Control server to assign any computer belonging to the Engineering OU in the domain hq.xyzcorp.local to the Research Group policy.
    The Active Directory Policy Mappings page showing the mappings table with the new rule listed above the default rule
    Tip: Rolling the mouse cursor over the i button next to an object in the Match column provides a description of the object.
  9. When you have additional rules, if necessary, use the up- and down-arrow buttons on the left side of each rule (or the drag-and-drop method) to change the order in which the rules are evaluated against a computer. Remember that the [all others] rule always is the last one in the table.
  10. Repeat this procedure beginning with Step 3 for any other rules you need to create.