Netscape DIRECTORY SERVER 6.0 - DEPLOYMENT Deployment Manual page 49

Table of Contents

Advertisement

would be
examplePerson
called
exampleOrganization
exampleVicePresident
object class.
organization
Your new object classes would appear in LDAPv3 schema format as follows:
objectclasses: ( 2.16.840.1.17370.999.1.2.3 NAME 'examplePerson'
DESC 'Example Person Object Class' SUP inetorgPerson MAY
(exampleDateOfBirth
objectclasses: ( 2.16.840.1.17370.999.1.2.4 NAME
'exampleOrganization' DESC 'Organization Object Class' SUP
organization MAY (exampleBuildingFloor $ exampleVicePresident) )
Alternatively, you can create a single object class that allows all of these attributes
and use it with any entry on which you want to use these attributes. The single
object class would appear as follows:
objectclasses: (2.16.840.1.17370.999.1.2.5 NAME 'exampleEntry' DESC
'Standard Entry Object Class' SUP top AUXILIARY MAY
(exampleDateOfBirth $ examplePreferredOS $ exampleBuildingFloor $
exampleVicePresident) )
The new
exampleEntry
used with any entry regardless of its structural object class.
The OID of the new object classes in the example is based on the
NOTE
Netscape OID prefix. To create your own new object classes, you
must get your own OID. For more information, refer to "Getting
and Assigning Object Identifiers," on page 47.
Choose the strategy for defining new object classes that works for you. Consider
the following when deciding how to implement new object classes:
Multiple object classes result in more schema elements to create and maintain.
Generally, the number of elements remains small and need little maintenance.
However, you may find it easier to use a single object class if you plan to add
more than two or three object classes to your schema.
Multiple object classes require a more careful and rigid data design.
Rigid data design forces you to consider the object class structure on which
every piece of data will be placed. Depending on your personal preferences,
you will find this to be either helpful or cumbersome.
. You might then create an object class
inetOrgPerson
and have it allow
. The parent of
exampleOrganization
$ examplePreferredOS) )
object class is marked AUXILIARY, meaning that it can be
Customizing the Schema
exampleBuildingFloor
would be the
Chapter 3
How to Design the Schema
and
49

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 6.0

Table of Contents