12.7. Updating an attribute


This section describes how to update an attribute using the command line and the web console.

12.7.1. Updating an Attribute Using the Command Line

Use the dsconf utility to update an attribute entry. For example:
# dsconf -D "cn=Directory Manager" ldap://server.example.com schema attributetypes replace dateofbirth --desc="Employee birthday" --syntax="1.3.6.1.4.1.1466.115.121.1.15" --single-value --x-origin="Example defined"
For further details about object class definitions, see Section 12.1.2, “Object Classes”.

12.7.2. Updating an Attribute Using the Web Console

To update 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 Attributes.
  4. Click the Choose Action button next to the attribute you want to edit.
  5. Select Edit Attribute.
  6. Update the parameters.
  7. Click Save.
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.