LDAP Mappings tabs

A Directory Synchronisation configuration contains a group mapping for mapping LDAP groups to Content Manager, and a user mapping, for mapping LDAP users to Content Manager. Both are configured in the same way.

A mapping consists of a list of rules, and a list of searches. When Directory Synchronisation is performed, the LDAP searches are executed, and the rules are then applied to each LDAP entry returned by the search.

When synchronising a LDAP entry to a location, the rules in the rules list are applied in order, one after the other. Rules can be configured to set a number of writeable properties on a Content Manager location, as well as writeable properties on the first Address or Electronic Address child object of the location. The same Content Manager property can be set by multiple rules, in which case the last applicable rule will be the one that sets the property.

Rules can be applied either unconditionally, or conditionally. Conditions are set by specifying that a particular LDAP attribute should match a particular text pattern. Text patterns can be matched literally, or matched using wild card or regular expression logic. If using regular expressions, regular expression captures can be specified and the captured values can be used when setting the property value.

Variable substitutions can be used to set the value of a Content Manager property. Valid variables can refer to LDAP attributes, or to regular expression captures if regular expression matching is enabled. If a variable is not resolved, for example if a LDAP attribute is not present, the variable will be substituted with an empty string value.

Note that variable substitutions can only be used with text format Content Manager properties.

Rules can be marked as Required. If a Required rule has a LDAP attribute condition, and the condition is not fulfilled by the given LDAP entry, then the synchronisation of that LDAP entry does not proceed, and the LDAP entry will not be considered part of the synchronisation set.

Rules also have a Link to Existing option, which allows the Directory Synchronisation tool to map LDAP entries, to pre-existing unsynchronised Content Manager locations. If Link to Existing is specified for a rule, then before creating a new location to synchronise to, the Directory Synchronisation logic will first search for an existing unsynchronised location with a property value matching that of the rule. If such a location is found, that location is then synchronised with the given LDAP entry. If such a location is not found, or if multiple matching locations are found, a new location is created instead.

If Content Manager business logic is violated when applying a rule, an error will be raised when saving the location, and an error message will be written to the Directory Synchronisation log. Synchronisation will then proceed with another LDAP entry.

Configuring Rules

  • To create a new rule, right-click under Rules and click Add.
  • To copy an existing rule, right-click on the existing rule and click Copy.
  • To edit a rule, double-click on the rule, or right-click on the rule and click Edit.
  • To change the order of the rules, right-click on a rule and click Move Up or Move Down.
  • To remove a rule, right-click on the rule and click Remove.

Configuring Searches

  • To create a new search, right-click under Searches and click Add.
  • To copy an existing search, right-click on the existing search and click Copy.
  • To edit a search, double-click on the search, or right-click on the search and click Edit.
  • To change the order of the searches, right-click on a search and click Move Up or Move Down.
  • To remove a search, right-click on the search and click Remove.