Previous PageNext Page

Chapter 3 - Using LDAP Configuration Manager to Manage LDAP Schema

Overview

Attribute type definitions
Object classes
Matching rules
Matching rule uses
Syntax

Note
Managing LDAP schema may involve adding and modifying LDAP object class definitions. The details and syntax of LDAP schema are defined in RFC 2251 Lightweight Directory Access Protocol (v3) and in RFC 2252 Lightweight Directory Access Protocol (v3): Attribute Syntax Definitions.

Object Identification Numbers

Using Online Help

Overview of LDAP Entries

Character case is ignored during comparisons (caseIgnore)
Values of the mail attribute must be character strings (IA5String)
Matches can be made to portions of the attribute value string (substring matching)

LDAP Configuration Manager and Managing Schema

Note
This chapter assumes you are familiar with the StreetTalk directory, StreetTalk attributes, and STDA. For more information about StreetTalk and managing StreetTalk attributes, refer to Managing Users and StreetTalk.

Service Control
Access Control
Attributes
Object Classes
Matching Rules
Matching Rule Use
Syntax
Referrals
Directory Synchronization

Attribute type definitions
Object classes
Matching rules

Note
Adding matching rules is not supported in LDAP for StreetTalk version 3.5. A future release of the LDAP for StreetTalk software will include the capability to add matching rules.

Matching rule uses
Syntax

Note
Adding syntax is not supported in LDAP for StreetTalk version 3.5. A future release of the LDAP for StreetTalk software will include the capability to add syntax.

Managing Attribute Type Definitions

Configuring LDAP Attributes

Note
Banyan recommends that you use the directory schema defined by LDAP for StreetTalk unless you plan to run an application that extends the schema.

Figure 3-1. Attributes Dialog

To Add a New Attribute

1. Click the Attributes tab.

2. Click New.

Figure 3-2. New Attribute Dialog Displaying More Options

3. Click More Options. The New Attribute dialog appears with all the attribute options displayed, as shown in Figure 3-2.

Clicking More Options lets you configure attribute settings that are not required for the LDAP Service, but can improve search performance.

4. In the Attribute OID field, enter an OID for the new attribute.

5. In the Attribute Name option, enter a name for the new attribute.

6. Under Maps to StreetTalk attribute, select the StreetTalk attribute type from the list and enter the corresponding vendor number and attribute number for the StreetTalk attribute.

7. Under Matching Rules, select the desired matching rules for using the attribute-equality, ordering, and substring-from the lists.

Equality - When you select an equality matching rule, LDAP for StreetTalk uses the rule to determine when a search value matches the attribute. For example, if you select integerMatch, the integer value of the user's specified search entry must be identical to the integer value of the attribute for the entry to be returned by the search.

Ordering - When you select an ordering rule, LDAP for StreetTalk applies the rule to operations that use ordering, such as less than (<), or greater than (>), to identify the target attribute and determine if the attribute value meets the search filter criterion.

Substring - When you select a matching rule to apply to substring matches for the attribute, LDAP for StreetTalk allows clients to search for entries in the LDAP directory by supplying only part of the value of the desired attribute. For example, substring match rules can let clients search for all occurrences of the attribute "cn=John Adams" by searching for "cn=Joh*" or "cn=*Adams".

8. (Optional) To add an alias for the new attribute, click Add Alias Name to open the Add New Aliases dialog. Enter the new alias name and click Add to add the alias. Click OK to return to the New Attribute dialog.

9. Under Options, select one or more check boxes to choose the attribute type and use options.

Single Value - The attribute can contain only one value. Selected by default.

Collective - Not supported by LDAP for StreetTalk. The collective option is included to comply with the LDAP version 3 protocol.

No User Modification - Locks the attribute so users cannot modify the attribute type definition. Administrators retain the ability to modify the attribute.

Present Indexing - Builds a database that indexes the new attribute. Indexing the attribute improves the performance of searches that filter on the presence of the attribute, such as cn=*, but uses disk space on the server.

Matching Rule Indexing - Builds a database that indexes the new attribute. Indexing the attribute improves the performance of searches that perform equality, ordering, or substring matching of the attribute, but uses disk space on the server.

10. (Optional) From the Attribute Syntax list, select an attribute syntax to be used with the new attribute.

11. (Optional) From the Usage list, select the appropriate usage for the attribute.

Three of the available usages-directoryOperation, distributedOperation, and dSAOperation-are assigned to attributes that are used internally by the directory for operational use and are not returned in searches. UserApplications attributes are exposed to the users. Select the attribute usage accordingly.

12. (Optional) Select a superior attribute from the list. Attributes inherit characteristics such as matching rules from their superior attribute

13. (Optional) Enter a text description of the new attribute in the Attribute Description option.

14. Click OK to add the new attribute to the LDAP schema.

To Add Attributes to an Object Class

1. Click the Object Classes tab.

2. Under Object Classes Defined, select the object class to modify, and click Edit.

3. Do one of the following:

— To add required attributes, select the attributes from the Known Attributes list, and click the <= button to add the attributes to the required attributes list.

— To add allowed attributes, select the attributes from the Known Attributes list, and click the <= button to add the attributes to the allowed attributes list.

— To remove attributes, select the attributes from the Required Attributes or Allowed Attributes lists, and click the => button.

4. Click OK to close the Edit Object Class dialog.

To Delete an Attribute

1. Click the Attributes tab.

2. On the Attributes Defined list, select the attribute to delete.

3. Click Delete.

To View the Details of an Attribute

1. Click the Attributes tab.

2. Click the + sign next to the attribute to show the details of the attribute.

3. Click the - sign to hide the details.

Managing Object Classes

Configuring Object Classes

Figure 3-3. Object Classes Dialog

New - Adds a new object class definition.

Edit - Adds existing schema attributes to required or allowed attributes of an object class or modifies an existing required or allowed attribute. Also lets you change other defined features of an object class.

Delete - Removes an object class definition.

Refresh - Updates the Object Classes Defined list to show the latest additions or changes.

Note
Banyan recommends you use the directory schema defined by LDAP for StreetTalk unless you plan to run an application that extends the schema.

To Add an Object Class

1. Click the Object Classes tab.

2. Click New. The New Object Class dialog appears as shown in Figure 3-4.

Figure 3-4. New Object Class Dialog

3. Under Object Class Name, enter a name for the object class.

4. Under Object Class identifier (OID), enter an OID for the new object class.

5. In the StreetTalk Object Class list, select the corresponding StreetTalk class.

6. Select a Kind of Object Class by selecting an option under Kind of Object Class.

Structural - The object class inherits the required and allowed attributes of its superior object class, in addition to the required and allowed attributes that you assign. You cannot delete a structural object class from an LDAP entry (compare to Auxiliary below).

Abstract - The new object class is compatible with X.500 directory services.

Auxiliary - The new object class is not affected by the directory hierarchy, and does not affect the hierarchy. You can delete an auxiliary object class from an LDAP entry.

7. Use the arrow buttons to add attributes for the new object class.

8. (Optional) Use the arrow buttons to add a superior object class from the Superior Object Classes list.

9. (Optional) Enter a text description of the new object class under Object Class description.

10. (Optional) Clear the Obsolete check box to mark the new object class as current.

Existing object classes may be designated as obsolete when their use is discouraged by the LDAP governing body. In general, avoid using obsolete object classes, and do not designate object classes that you create as obsolete.

11. Click OK to add the new object class to the LDAP schema.

The new object class appears in the Object Class defined list, in expanded view to show the details of the new object class.

To Delete an Object Class

1. Click the Object Classes tab.

2. From the Object Classes Defined list, select the object class to delete.

3. Click Delete.

To View the Details of an Object Class

1. Click the Object Classes tab.

2. Click the + sign next to the object class to show the details of the object class.

3. Click the - sign to hide the details.

Managing Matching Rules

Configuring Matching Rules

Attribute homePhone uses matching rule 2.5.13.20 (telephoneNumberMatch) for equality matches during compare and search operations
Attribute homePostalAddress uses matching rule 2.5.13.11 (caseIgnoreListMatch) for matches

Figure 3-5. Matching Rules Dialog

Note
Adding matching rules is not supported in LDAP for StreetTalk version 3.5. A future release of the LDAP for StreetTalk software will include the capability to add matching rules.

To Add a Matching Rule

Note
Adding matching rules is not supported in LDAP for StreetTalk version 3.5. A future release of the LDAP for StreetTalk software will include the capability to add matching rules.

1. Click the Matching Rules tab.

2. Click New. The New Matching Rule dialog appears (Figure 3-6).

Figure 3-6. New Matching Rule Dialog

3. Enter the OID for the new matching rule.

4. Enter a name for the new matching rule.

5. From the Syntax list, select a syntax to use with the new matching rule.

6. (Optional) Enter a text description for the matching rule in the Description field.

7. (Optional) Select the Obsolete check box to define the new rule as obsolete.

Generally, new matching rules are not designated as obsolete. Only matching rules whose use is discouraged by the LDAP governing body should be declared obsolete.

To Delete a Matching Rule

1. Click the Matching Rules tab.

2. On the Matching Rules Defined list, select the rule to delete.

3. Click Delete.

To View the Details of a Matching Rule

1. Click the Matching Rules tab.

2. Click the + sign next to the matching rule to show the details of the rule.

3. Click the - sign to hide the details.

Managing Matching Rule Uses

Configuring Matching Rule Uses

telephoneNumberMatch (OID 2.5.13.20) applies to attributes homephone, mobile, mobiletelephonenumber, pager, pagertelephonenumber, personalmobile, personalpager, and telephonenumber
octetStringMatch (OID 2.5.13.17) applies to userpassword

Figure 3-7. Matching Rules Use Dialog

To Add a Matching Rule Use

1. Click the Matching Rule Use tab.

2. Click New. The New Matching Rule Use dialog appears (Figure 3-8).

Figure 3-8. New Matching Rule Use Dialog

3. Enter the OID for the new matching rule use in the Matching Rule Use OID field.

4. Enter a name for the new matching rule use in the Name field.

5. From the Known Applies list, select 1 or more attributes to use the new matching rule use and click the <= arrow to add the selected attributes to the Applies list.

6. (Optional) Enter a text description for the matching rule use in the Description field.

7. (Optional) Select the Obsolete check box to define the new rule as obsolete.

Generally, new matching rule uses are not designated as obsolete. Only matching rule uses whose use is discouraged by the LDAP governing body should be declared obsolete.

To Delete a Matching Rule Use

1. Click the Matching Rule Use tab.

2. On the Matching Rules Use Defined list, select the use to delete.

3. Click Delete.

To View the Details of a Matching Rule Use

1. Click the Matching Rules Use tab.

2. Click the + sign next to the matching rule use to show the details of the rule use.

3. Click the - sign to hide the details.

Managing Attribute Syntax

Configuring Syntax

Figure 3-9. Syntax Dialog

Note
Adding syntax is not supported in LDAP for StreetTalk version 3.5. A future release of the LDAP for StreetTalk software will include the capability to add syntax.

To Add a Syntax

1. Click the Syntax tab.

2. Click New. The New Syntax dialog appears (Figure 3-10).

Figure 3-10. New Syntax Dialog

3. Enter the OID for the new Syntax in the Syntax OID field.

4. (Optional) Enter a text description for the syntax in the Description field.

5. Select the Human Readable check box to indicate that the syntax is used by attributes containing values that are human readable, such as text strings.

LDAP syntax Audio, Binary, and JPEG are not human-readable (that is, attributes that use these syntax contain information that is not meant to be viewed in its binary, or raw, state). Most other syntax are readable, such as Postal Address and Telephone Number.

6. Click OK to close the dialog.

To Delete a Syntax

1. Click the Syntax tab.

2. On the Syntax Defined list, select the syntax to delete.

3. Click Delete.

To View the Details of a Syntax

1. Click the Syntax tab.

2. Click the + sign next to the syntax to show the details of the syntax.

3. Click the - sign to hide the details.

Previous PageTop Of PageNext Page