You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.
View the definition of the object class to delete.
See To View an Object Class for details.
Use the ldapmodify(1) command to delete the object class definition as it appears in the schema.
The following command deletes the object class that was created in Example 12–4:
$ ldapmodify -D cn=admin,cn=Administrators,cn=config -w - Enter bind password: dn: cn=schema changetype: delete delete: objectClasses objectClasses: ( 126.96.36.199.5.6.8 NAME 'blogger' DESC 'Someone who has a blog' STRUCTURAL MAY blog X-ORIGIN 'user defined' ) ^D
Notice that you must include X-ORIGIN 'user defined', which was added by Directory Server to classify this schema definition as an extension.