Este conteúdo não está disponível no idioma selecionado.
12.5. Removing an Object Class
This section describes how to delete an object class using the command line and the web console.
Warning
Do not delete default schema elements. They are required by Directory Server.
12.5.1. Removing an Object Class Using the Command Line Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
Use the
ldapmodify
utility to delete an object class entry. For example, to delete the examplePerson
object class:
- Remove the unwanted attributes from any entries that use them. For details, see Section 12.8, “Removing an Attribute”.
- Delete the object class entry:
dsconf -D "cn=Directory Manager" ldap://server.example.com schema objectclasses delete examplePerson
# dsconf -D "cn=Directory Manager" ldap://server.example.com schema objectclasses delete examplePerson
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
For further details about object class definitions, see Section 12.1.2, “Object Classes”.
12.5.2. Removing an Object Class Using the Web Console Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
To remove 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 next to the object class entry you want to remove.
- Select.
- Clickto confirm.