Installation guide

Identifying Custom Schema
62 Netscape Directory Server Installation Guide • May 2002
While the migration will complete in this situation, you will probably find that you
cannot modify your data in Directory Server 6.02. Therefore, you are strongly
recommended to copy your custom schema into separate files before you perform
the migration. You can use the standard
slapd.user_oc.conf and
slapd.user_at.conf files or any files declared in slapd.conf with the useroc
and userat keywords respectively.
To separate your custom schema from your standard schema:
1. Examine your old slapd.at.conf and slapd.oc.conf files to discover all the
schema additions that you made there.
To ensure that you have properly iden tified all your changes to standard files,
you can compare them with the standard files provided in the
/bin/slapd/install/version4 directory. Alternatively, if you have already
tried to run the
migrateInstance6 script, use the notifications that it issues.
2. Move your custom schema elements to the following files:
/usr/netscape/servers/slapd-serverID/config/slapd.user_at.conf and
/usr/netscape/servers/slapd-serverID/config/slapd.user_oc.conf
These file names are recommended because the 4.x schema configuration
editor w rites to them. However, you can use any file name you like.
Note t hat if there are inheritance relationships between custom defined object
classes, you must ensure that in the order in which they appear in the schema
configuration file, the superior object class is defined before the oth ers.
3. Include these files into your slapd.conf file using the userat and useroc
directives. Place your new directives at the same place in the file as the include
statements for other configuration files.
The o rder in which the various configuration files a re incl uded is not
important.
Then, if you added custom attri b utes to standard object classes in
slapd.oc.conf, you must do the following:
4. In the slapd.user_oc.conf file (or your equivalent), create a new object class
that includes your custom attributes.
5. Add this new object class to every entry in your directory that uses the custom
attributes.