Using the Domino® Directory to define an LDAP attribute for a new object class
The preferred method for extending the LDAP schema is to use the Domino® LDAP Schema database. Use the Domino® Directory to extend the schema only if Notes® or Web users require access to the new schema elements through documents in the directory.
Before you begin
- You are working in a copy of the Domino® Directory template (ACMENAMES.NTF for example).
- You have Designer or Manager access in the ACL.
About this task
To define an attribute for a new object class you have added to the Domino® Directory, add a field to the appropriate subform.
Note: Do not
add the fields ListName or ServerName.
Procedure
- From the Domino® Administrator
or Notes® client, choose the
name for the attribute, and then complete these steps to determine
whether the attribute is already being used:
- Open the Domino® LDAP Schema database (SCHEMA.NSF) on a server that runs the LDAP service.
- Select the view.
- Do a full-text search for the name of the attribute you plan to define for the object class.
- Do one of the following:
- If the search returns a document whose LDAP name field contains the name of the attribute for which you searched, use the corresponding value in the Notes mapping field in the Attribute document as the name of the new field.
- If the search does not return a document whose LDAP name field contains the name of the attribute for which you searched, use the name of the attribute for which you searched.
- From the Domino® Designer, open a copy of the Domino® Directory (ACMENAMES.NTF for example).
- Do one of the following:
- To define an attribute for a new auxiliary object class, open the subform for the auxiliary object class -- for example, the subform named building.
- To define an attribute for a new structural object class, open the $xxxInheritableSchema subform for the object class -- for example, the subform $acmePrinterInheritableSchema -- and then select the Mandatory tab if the attribute will be required, or select the Optional tab if the attribute will not be required.
- Choose .
- Next to the Name property, assign the field a name as described in Step 1.
- Next to the Type property, choose
one of the following data types, and keep Editable selected:
Table 1. Data types Choose this Domino® data type
For this LDAP attribute syntax
Text
Directory string
Date/Time
Generalized time
Number
Integer
Names
Distinguished name
- Optional: Do the following to require that
all entries include a value for this attribute:
- Close and save the subform.