Search

12.8. Removing an Attribute

download PDF
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

Use the ldapmodify utility to delete an attribute. For example:
  1. Remove the unwanted attributes from any entries which use them.
  2. Delete the attribute:
    # dsconf -D "cn=Directory Manager" ldap://server.example.com schema attributetypes remove dateofbirth
For further details about object class definitions, see Section 12.1.2, “Object Classes”.

12.8.2. Removing an Attribute Using the Web Console

To remove an attribute using the web console:
  1. Open the Directory Server user interface in the web console. See Section 1.4, “Logging Into Directory Server Using the Web Console”.
  2. Select the instance.
  3. Select Schema Objectclasses.
  4. Click the Choose Action button next to the attribute you want to remove.
  5. Select Delete Attribute.
  6. Click Yes to confirm.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.