Exit Print View

Sun OpenDS Standard Edition 2.0 Administration Guide

Get PDF Book Print View
 

Document Information

Configuring the Directory Server

Configuring Security in the Directory Server

Managing Directory Data

Controlling Access To Data

Replicating Data

Managing Users and Groups

Directory Server Monitoring

Improving Performance

Advanced Administration

Running the Directory Server as a Non-Root User

Working With Directory Schema

Directory Schema Overview

Configuring Schema Checking

Working With Object Identifiers (OIDs)

Extending the Directory Schema

Managing Attribute Types

To View Attribute Types

To Create an Attribute Type

To Delete an Attribute Type

Managing Object Classes

To View Object Classes

To Create an Object Class

To Delete an Object Class

Extending the Schema With a Custom Schema File

Replicating Directory Schema

Managing the Schema With the Control Panel

To Display Schema Items

To Add a New Object Class

To Add a New Attribute to the Schema

Managing the Schema With the Control Panel

You can use the Control Panel to manage the directory's schema, as described in these sections:

To Display Schema Items

This procedure shows how to use the Control Panel to display items defined in the schema.

  1. Start the Control Panel, as described in To Start the Control Panel.
  2. Click the Manage Schema link under theSchema menu on the left side of the Control Panel window.

    The Manage Schema window appears, displaying all configured schema object classes in a list on its left side.


    Figure shows Manage Schema window.
  3. You can change the view of the schema items:
    • Double-click on a category in the list to expand it and display the attributes and sub-categories that it contains.

    • Click on an item in the list to display its specifications.

    • Filter the objects that are displayed. Select a category to filter on from the drop-down list, type a string in the blank field, and click the Apply button. Only the objects that match the filter are displayed.

    • Double-click an object or attribute in the right panel of the window to display its configuration.

To Add a New Object Class

This procedure shows how to use the Control Panel to add a new object class to the schema.

  1. Start the Control Panel, as described in To Start the Control Panel.
  2. Click the Manage Schema link under the Schema menu on the left side of the Control Panel window.

    The Manage Schema window appears

  3. Click the New Object Class button.

    The New Object Class window appears.


    Figure shows New Object Class window.
  4. Specify the following information in the fields of the New Object Class window:
    Name

    A unique name to identify the new object class

    OID

    An OID that uniquely identifies the object class in the directory server. The LDAP v3 specification requires the OID to be a numeric number, but OpenDS supports the use of non-numeric OIDs for easy identification because the schema is used internally within the organization. The default format is objectClassName-oid, such as person-oid.

    Description

    A description of the object class

    Parent

    The superior object class from which the new object class inherits elements.

    OpenDS allows only one superior object class, although the LDAP v3 specification allows for multiple superior object classes.

    Attributes

    The set of attribute types that can be present (that is, have at least one value) in entries with the object class. Required attributes must be present (that is, have at least one value) in entries with that object class. Optional attributes can be present in such entries, but they are not required to be present.

    Select an attribute in the Available Attributes list and click one of the Add buttons to add it to either the Required Attributes list or the Optional Attributes list.

    Double-click an attribute to move it from the Available Attributes list to the Required Attributes list. double-click an attribute in either the Required Attributes list or the Optional Attributes list to return it to the Available Attributes list.

  5. Click the OK button.

    The New Object Class window displays the progress of the operation.

    When the operation is complete, the new object class is created.

  6. When the operation is complete, click the Close button to close the New Object Class window.

To Add a New Attribute to the Schema

This procedure shows how to use the Control Panel to define a new attribute in the schema.

  1. Start the Control Panel, as described in To Start the Control Panel.
  2. Click the Manage Schema link under the Schema menu on the left side of the Control Panel window. The Manage Schema window appears.
  3. Click the New Attribute button.

    The New Attribute window appears.


    Figure shows New Attribute window.
  4. Specify the following information in the fields of the New Attribute window:
    Name

    A unique name to identify the new attribute

    OID

    An OID that uniquely identifies the attribute in the directory server. The LDAP v3 specification requires the OID to be a numeric number, but OpenDS supports the use of non-numeric OIDs for easy identification because the schema is used internally within the organization. The default format is attributeName-oid, such as person-oid.

    Description

    A description of the attribute

    Parent

    The superior object class from which the new attribute inherits elements.

    OpenDS allows only one superior object class, although the LDAP v3 specification allows for multiple superior object classes.

    Specify additional values in the fields for Extra Options, Attribute Type Options, and Matching Rule Options as needed.

  5. Click the OK button.

    The New Attribute window displays the progress of the operation.

    When the operation is complete, the new attribute is created.

  6. When the operation is complete, click the Close button to close the New Attribute window.