Deleting an object class

 

Use this information to delete an object class. Not all schema changes are allowed. See Disallowed schema changes for change restrictions.

If you have not done so already, expand Schema management in the navigation area, then click Manage object classes. To delete an object class:

  1. Click the radio button next to the object class that you want to delete.

  2. Click Delete.

  3. You are prompted to confirm deletion of the object class. Click OK to delete the object class or click Cancel to return to Manage object classes without making any changes.

View the object classes contained in the schema issue the command:

ldapsearch -b cn=schema -s base objectclass=* objectclasses

Select the object class you want to delete and issue the following command:

ldapmodify -D <adminDN> -w <adminPW> -i <filename>

where <filename>contains:

dn: cn=schema changetype: modify delete: objectclasses objectclasses: (<myobjectClass-oid>)

 

Parent topic:

Schema tasks