Questo contenuto non è disponibile nella lingua selezionata.
12.6. Creating an Attribute
This section describes how to create a attribute using the command line and the web console.
12.6.1. Creating an Attribute Using the Command Line Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
Use the
ldapmodify
utility to create a new attribute. For example:
dsconf -D "cn=Directory Manager" ldap://server.example.com schema attributetypes add dateofbirth --desc="For employee birthdays" --syntax="1.3.6.1.4.1.1466.115.121.1.15" --single-value --x-origin="Example defined"
# dsconf -D "cn=Directory Manager" ldap://server.example.com schema attributetypes add dateofbirth --desc="For employee birthdays" --syntax="1.3.6.1.4.1.1466.115.121.1.15" --single-value --x-origin="Example defined"
For further details about attribute definitions, see Section 12.1.3, “Attributes”.
12.6.2. Creating an Attribute Using the Web Console Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
To create 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.
- Fill the parameters.
- Click.