Este conteúdo não está disponível no idioma selecionado.

12.3. Creating an Object Class


This section describes how to create a object class using the command line and the web console.

12.3.1. Creating an Object Class Using the Command Line

Use the ldapmodify utility to create a new object class entry. For example:
# dsconf -D "cn=Directory Manager" ldap://server.example.com schema objectclasses add examplePerson --oid="2.16.840.1133730.2.123" --desc="Example Person Object Class" --sup="inetOrgPerson" --kind="AUXILIARY" --must="cn" --may exampleDateOfBirth examplePreferredOS
Copy to Clipboard Toggle word wrap
For further details about object class definitions, see Section 12.1.2, “Object Classes”.

12.3.2. Creating an Object Class Using the Web Console

To create an object class 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 Add ObjectClass.
  5. Select the parent object class.
  6. Enter an object class name and, optionally, set a object identifier (OID).
  7. Select the object class kind.
  8. Enter the required and allowed attributes in the corresponding fields:
  9. Click Add.
Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat