Attribute definition
Before you define unique attributes for the adapter, ensure that the attribute does not exist in the common schema.dsml file.
The following example defines an attribute:
<!-- *********************************************** -->
<!-- erSampleHome -->
<!-- *********************************************** -->
<attribute-type single-value = "true" >
<name>erSampleHome</name>
<description>User home directory</description>
<object-identifier>1.3.6.1.4.1.6054.3.125.2.100</object-identifier>
<syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
</attribute-type>Comment lines are denoted by the <!--
... --> markersThe attribute type is defined as single-value or multi-value. A
single-value attribute is denoted by the line: <attribute-type
single-value ="true">. To denote a multi-valued attribute,
change the true value to false.
The name of the attribute that is used by the Identity server is defined in the schema. To
simplify the tracking of new Box Adapter
attributes, use erBox as the preface for all new attributes.
The description of the attribute is denoted by the line: <description>...</description> tag.
The OID is defined by the <object-identifier>...</object-identifier> tag.
Because OIDs are already assigned to the existing, standard attributes,
the OID can be copied from the last attribute in the list. However,
the last number must be incremented by one for each new attribute
that you add to the schema.dsml file.
The data type is defined with the <syntax>...</syntax> tag.
The following table lists various data types and the value you specify
in the syntax tags.
| Data type | Value |
|---|---|
| Bit string | 1.3.6.1.4.1.1466.115.121.1.6 |
| Boolean | 1.3.6.1.4.1.1466.115.121.1.7 |
| Directory string | 1.3.6.1.4.1.1466.115.121.1.15 |
| UTC coded time | 1.3.6.1.4.1.1466.115.121.1.24 |
| Integer | 1.3.6.1.4.1.1466.115.121.1.27 |