Click the entry you want to modify. The details for that entry appear in the main

Managing Oracle Virtual Directory Entries and Schema 15-9 ■ Managing Oracle Virtual Directory Schema Object Classes

15.2.1 Managing Oracle Virtual Directory Schema Attributes

This section explains how to manage Oracle Virtual Directory schema attributes and contains the following tasks: ■ Searching for Schema Attributes ■ Creating New Schema Attributes ■ Creating Like Schema Attributes ■ Modifying Schema Attributes ■ Deleting Schema Attributes

15.2.1.1 Searching for Schema Attributes

Oracle Directory Services Manager provides search functionality to simplify the process of navigating schema attributes. Perform the following steps to search for schema attributes using Oracle Directory Services Manager: 1. Log in to Oracle Directory Services Manager.

2. Select Schema from the task selection bar. The Attribute Types and Object Classes

navigation tree appears.

3. Expand the Attribute Types entry. The Attribute Type controls, including search

field, and a list of the existing schema attributes appear. 4. Enter a string to search for in the search field. Two pattern matching characters are supported, and ?. Use the character as a wildcard to match zero or more characters. Use the ? character to match one single character. For example, the search string auth???????? returns the attribute authPassword.

5. Click the Go icon to start the search. The attributes that match the search

criteria appear in the navigation tree.

15.2.1.2 Creating New Schema Attributes

Perform the following steps to create new Oracle Virtual Directory schema attributes using Oracle Directory Services Manager:

1. Log in to Oracle Directory Services Manager.

2. Select Schema from the task selection bar. The Attribute Types and Object Classes

navigation tree appears.

3. Expand the Attribute Types entry. A list of the existing schema attributes appears.

4. Click the Create button. The New Attribute Type dialog box appears.

Note: This topic explains how to manage Oracle Virtual Directory schema using Oracle Directory Services Manager. If you use ldapmodify to modify Oracle Virtual Directory schema, be aware of the following items: ■ Oracle Virtual Directory expects schema keywords such as name to be in all capital letters NAME. ■ Oracle Virtual Directory does not support the ldapmodify replace operation when modifying schema. 15-10 Oracle Fusion Middleware Administrators Guide for Oracle Virtual Directory 5. Enter the following information in the New Attribute Type dialog box fields: ■ Enter the name of the attribute in the Name field. ■ Enter a unique object identifier specified by ICANNS in the Object ID field. If not registered, any unique value will suffice. Oracle recommends registering all custom attributes by using a unique object identifier. ■ Optionally, enter a description for the attribute in the Description field. ■ Select the format for the attribute value by selecting an option in the Syntax list. Oracle Virtual Directory uses parent syntax values only. ■ Enter the bytes length of the attribute in the Size bytes field. 0 or no value empty implies unlimited. Oracle Virtual Directory does not enforce this attribute definition. ■ Select a standard from the Usage list for how the attribute can be used. ■ Enter an Object ID matching rule in the Ordering field for ordered searching. Oracle Virtual Directory does not use this attribute definition. ■ Enter a matching rule Object ID in the Equality field for equality. Oracle Virtual Directory does not use this attribute definition. ■ Enter a matching rule Object ID in the Substring field for substring searching. Oracle Virtual Directory does not use this attribute definition. ■ Enable the Single Value option if the attribute may hold only a single value at a time. If this option is not enable, the attribute may hold multiple values. ■ Optionally, select a parent attribute for the new attribute by selecting an existing attributes from the Superior list.

6. Click OK on the New Attribute Type dialog box to create the attribute. The new

attribute appears in the Attribute Types tree.

15.2.1.3 Creating Like Schema Attributes

Oracle Directory Services Manager provides the ability to create new Oracle Virtual Directory schema attributes that are similar— or like—an existing attribute. This ability is known as Create Like. When you create a new attribute like an existing Note: One problem with managing an LDAP schema is knowing to which objectclass, or objectclasses, an attribute belongs. While every objectclass shows the attributes it contains, directory administrators often want to know which objectclass is using an attribute; particularly for custom attributes. When you select an attribute from the Attribute Types list, Oracle Directory Services Manager displays information about that attribute, including a Referenced By table. This table shows which direct objectclasses are using the selected attribute and how that attribute is being referenced. Attributes are referenced as mandatory or optional. Be aware that the Referenced By table does not list any objectclasses that inherit the attribute use it indirectly. For example, if sn is referenced by the person objectclass, the Referenced By table only lists the person objectclass. The table does not list the inetorganizationalperson or organizationalperson objectclasses, which are inherited from the person objectclass.