Viewing the Default Directory Schema233.3.1. Viewing the Default Directory SchemaThe default directory schema is stored in /etc/dirsrv/schema/.This directory contains all of the common schema for the Directory Server. The LDAPv3 standard userand organization schema can be found in the 00core.ldif file. The configuration schema used byearlier versions of the directory can be found in the 50ns-directory.ldif file.WARNINGDo not modify the default directory schema.For more information about each object class and attribute found in directory, see the DirectoryServer Schema Reference. For more information about the schema files and directory configurationattributes, see the Directory Server Configuration, Command, and File Reference.3.3.2. Matching Data to Schema ElementsThe data identified in the site survey now needs to be mapped to the existing directory schema. Thisprocess involves the following steps:1. Identify the type of object the data describes.Select an object that best matches the data described in the site survey. Sometimes, a piece ofdata can describe multiple objects. Determine if the difference needs to be noted in the directoryschema.For example, a telephone number can describe an employee's telephone number and aconference room's telephone number. Determine if these different sorts of data need to beconsidered different objects in the directory schema.2. Select a similar object class from the default schema.It is best to use the common object classes, such as groups, people, and organizations.3. Select a similar attribute from the matching object class.Select an attribute from within the matching object class that best matches the piece of dataidentified in the site survey.4. Identify the unmatched data from the site survey.If there are some pieces of data that do not match the object classes and attributes defined by thedefault directory schema, customize the schema. See Section 3.4, “Customizing the Schema” formore information.For example, the following table maps directory schema elements to the data identified during the sitesurvey in Chapter 2, Planning the Directory Data:Data Owner Object Class AttributeEmployee name HR person cn (commonName)User password IS person userPasswordHome phone number HR inetOrgPerson homePhone