-
Notifications
You must be signed in to change notification settings - Fork 2
schema
Ryan Newington edited this page May 27, 2016
·
1 revision
The MA uses a strongly-typed schema to determine what attributes are supported in the target system. These are defined within the <schema>
element.
The <schema>
element must contain one of each of the following elements;
- schema-attributes element
- schema-objects element
<schema>
<schema-attributes>
<schema-attribute name="accountName" multivalued="false" type="string" operation="ImportExport"/>
<schema-attribute name="uid" multivalued="false" type="integer" operation="ImportExport"/>
<schema-attribute name="gid" multivalued="false" type="integer" operation="ImportExport"/>
<schema-attribute name="comment" multivalued="false" type="string" operation="ImportExport"/>
<schema-attribute name="expiryDate" multivalued="false" type="integer" operation="ImportExport"/>
<schema-attribute name="homeDirectory" multivalued="false" type="string" operation="ImportExport"/>
<schema-attribute name="shell" multivalued="false" type="string" operation="ImportExport"/>
<schema-attribute name="accountDisabled" multivalued="false" type="boolean" operation="ExportOnly"/>
<schema-attribute name="member" multivalued="true" type="reference" operation="ImportExport"/>
</schema-attributes>
<schema-objects>
<schema-object object-class="user">
<dn-format>cn={accountName},ou=users</dn-format>
<attributes>
<attribute>accountName</attribute>
<attribute>uid</attribute>
<attribute>gid</attribute>
<attribute>comment</attribute>
<attribute>homeDirectory</attribute>
<attribute>shell</attribute>
<attribute>accountDisabled</attribute>
</attributes>
</schema-object>
<schema-object object-class="group">
<dn-format>cn={accountName},ou=groups</dn-format>
<attributes>
<attribute>accountName</attribute>
<attribute>gid</attribute>
<attribute>member</attribute>
</attributes>
</schema-object>
</schema-objects>
</schema>