12.8. Removing an Attribute
This section describes how to delete an attribute using the command line and the web console.
12.8.1. Removing an Attribute Using the Command Line Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Use the
ldapmodify
utility to delete an attribute. For example:
- Remove the unwanted attributes from any entries which use them.
- Delete the attribute:
dsconf -D "cn=Directory Manager" ldap://server.example.com schema attributetypes remove dateofbirth
# dsconf -D "cn=Directory Manager" ldap://server.example.com schema attributetypes remove dateofbirth
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
For further details about object class definitions, see Section 12.1.2, “Object Classes”.
12.8.2. Removing an Attribute Using the Web Console Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
To remove an attribute 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 attribute you want to remove.
- Select.
- Clickto confirm.