Skip to content

schema objects

Ryan Newington edited this page May 27, 2016 · 1 revision

<schema-objects> element

The <schema-objects> element the object classes that that the MA supports. The <schema-objects> element must have at least one <schema-object> element.

XML Attribute Name Description Allowed Values
object-class The name of the object class An LDAP-compliant object class name
Please note: object class names are case-sensitive within the configuration file

The <schema-objects> element must contain both of the following child elements

Example

<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>