Define the AD Schema Mappings

Use the Schema Mappings section in the DirectoryServices page to manage the mappings of the user and group objects used in the Active Directory authentication.

  1. Define the following schema mappings settings:
    OptionDescription
    User ID Attribute NameThe attribute name containing the user name to match against the Web HMI login user name. The default is cn.

    Example: sAMAccountName

    User Base Distinguished NameThe distinguished name of the top-level directory that is used to validate user credentials. The default is ou=people.

    Example: CN=Users,DC=ge,DC=local

    Group Object Class NameThe value of the object class attribute indicating the object is a group. The group objects are queried and presented for the Active Directory and ThingWorx group mapping in the Group Mappings section in the DirectoryServices page. The default is group.
    Group LDAP Filter to filter domain groupsEnables the filtering of a large number of domain groups.
    Note: Do not leave this field blank when there are a substantial number of domain groups because performance may be significantly impacted.
    Group Membership Attribute NameThe attribute name that indicates a user or group is a member of another group. For each memberOf entry within a user in the Active Directory, that user is added as a member to the ThingWorx group mapped with the Active Directory group named in the memberOf entry. The default is memberOf.
    Group Attribute Name The attribute name that retrieves the group display name from the ThingWorx UI, specifically in the Group Mappings section in the DirectoryServices page. The default is cn.
    User Flags Attribute NameThe default is userAccountControl. For information about this setting, see https://msdn.microsoft.com/en-us/library/cc223145.aspx.
    User Control Attribute's Disabled BitThe default is 2. For information about this setting, see https://msdn.microsoft.com/en-us/library/cc223145.aspx.
    User Control Attribute's Lockout BitThe default is 16. For information about this setting, see https://msdn.microsoft.com/en-us/library/cc223145.aspx.
  2. Select Save.