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 attribute type to delete.
See To View Attribute Types for details.
Use the ldapmodify(1) command to delete the attribute type definition as it appears in the schema.
The following command deletes the attribute type that is created in Example 12–1:
$ ldapmodify -D cn=admin,cn=Administrators,cn=config -w - Enter bind password: dn: cn=schema changetype: delete delete: attributeTypes attributeTypes: ( 1.2.3.4.5.6.7 NAME ( 'blog' 'blogURL' ) DESC 'URL to a personal weblog' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'user defined' ) ^D |
Notice that you must include the X-ORIGIN 'user defined', which was added by Directory Server to classify this schema definition as an extension.