12.4. Updating an Object Class
This section describes how to update an object class using the command line and the web console.
12.4.1. Updating an Object Class Using the Command Line Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Use the
dsconf
utility to update an object class entry. For example:
dsconf -D "cn=Directory Manager" ldap://server.example.com schema objectclasses replace examplePerson --oid="2.16.840.1133730.2.123" --desc="Example Person Object Class" --sup="inetOrgPerson" --kind="AUXILIARY" --must="cn" --may exampleDisplayName exampleAlias
# dsconf -D "cn=Directory Manager" ldap://server.example.com schema objectclasses replace examplePerson --oid="2.16.840.1133730.2.123" --desc="Example Person Object Class" --sup="inetOrgPerson" --kind="AUXILIARY" --must="cn" --may exampleDisplayName exampleAlias
For further details about object class definitions, see Section 12.1.2, “Object Classes”.
12.4.2. Updating an Object Class Using the Web Console Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
To update an object class using the web console:
- Open the Directory Server user interface in the web console. See Section 1.4, “Logging Into Directory Server Using the Web Console”.
- Select the instance.
- Select
. - Click thebutton to the right of the object class entry you want to edit.
- Select.
- Update the parameters.
- Click.