Naming Attribute And Object Classes; Strategies For Defining New Object Classes - Netscape DIRECTORY SERVER 6.02 - DEPLOYMENT Deployment Manual

Table of Contents

Advertisement

Customizing the Schema
Create an OID registry so you can track OID assignments.
An OID registry is a list you maintain that gives the OIDs and descriptions of
the OIDs used in your directory schema. This ensures that no OID is ever use
for more than one purpose. You should then publish your OID registry with
your schema.
Create branches in the OID tree to accommodate schema elements.
Create at least two branches under the OID branch or your directory schema,
using OID
your own matching rules or controls, you can add new branches as needed
(

Naming Attribute and Object Classes

When creating names for new attribute and object classes, make the name as
meaningful as possible. This makes your schema easier to use for Directory Server
administrators.
Avoid naming collisions between your schema elements and existing schema
elements by including a unique prefix on all of your elements. For example,
example.com
custom schema elements. They might add a special object class called
examplePerson

Strategies for Defining New Object Classes

There are two ways you can create new object classes:
You can create many new object classes, one for each object class structure to
which you want to add an attribute.
You can create a single object class that supports all of the attributes that you
create for your directory. You create this kind of an object class by defining it to
be an AUXILIARY kind of object class.
You may find it easiest to mix the two methods.
For example, suppose your site wants to create the attributes
exampleDateOfBirth
exampleVicePresident
subset of these attributes. You might create an object class called
and have it allow
48
Netscape Directory Server Deployment Guide • May 2002
for attributes and OID
.1
, for example).
OID.3
Corporation might add the prefix
to identify
,
examplePreferredOS
. You can create several object classes that allow some
exampleDateOfBirth
for object classes. If you want to define
.2
example
. employees in their directory.
example.com
,
exampleBuildingFloor
and
examplePreferredOS
before each of their
, and
examplePerson
. The parent of

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents