The script schema_mapping.sh can be used to add fields to the schema of a directory. The fields you add will be brought from the Active Directory to the Octopus Authentication Server and will appear in the user profiles.


This document describes different parameters you can use with this script.


list

To display a list of all your Active Directories, run:

./schema_mapping.sh list


add-to-schema

Use this parameter to add an attribute to the directory schema. Follow these steps:

  1. In the Active Directory VM, right-click on an object and select Properties > Attribute Editor.

    Then, choose the relevant attribute.

  2. In your VM, run:

    ./schema-mapping.sh add-to-schema <id of the relevant directory> <Name of the attribute to appear in the Octopus MC> <Name of the attribute in the AD> <Type of attribute (text, bin, sid)>


reset-schema

To return the schema to its original structure, run:

./schema_mapping.sh reset-schema


Footer - Secret Double Octopus