3.4 Extending the Schema Manually

This section provides instructions for extending the schema manually. These steps are only required to fix a problem that occurs if eDirectory is not installed in the default location.

To extend the schema manually (Windows):

  1. After installing Identity Manager, stop eDirectory.

  2. Run the following command to extend the schemas listed in sch_nt.cfg, which is located in the eDirectory installation location.

    <eDirLocation>\schemaStart.bat <eDirLocation> yes <admin name
    with tree> <password> yes 6 " " " <schemafileName>"
    "<serverName>" <dibPathLocation>
    

    NOTE:The <dibPathLocation> must contain the DIBFiles folder.

    Here is a sample command:

    C:\eDir\NDS\schemaStart.bat "C:\eDir\NDS" yes
    ".cn=admin.o=n.T=IDM-INSTALLISSUE." "n" yes 6 " "
    "C:\eDir\NDS\ vrschema.sch" ".CN=WIN2008-64-NDS.O=n.T=IDMINSTALLISSUE."
    "C:\DIB\NDS\DIBFiles"
    

    NOTE:The above command does not use sch_nt.cfg to extend all the schema files, but instead extends each and every schema file mentioned in sch_nt.cfg manually.

  3. Install the Role and Resource Driver (as described under Section 3.3, Running the RBPM Install Program), unchecking the Schema Extensions option in the Select Components window. Complete the installation.

    NOTE:If you are not able to use the GUI installer, you need to perform some additional steps manually. These steps are covered under Section 3.5, Extending the Schema Manually with a Non-GUI Install. The additional manual steps are required if you are installing RBPM on top of a non-root install of eDirectory and Identity Manager.

  4. After installing the Role and Resource Driver, extend the role-based schema files srvprv.sch and nrf-extensions.sch by executing the command listed in Step 2.

    NOTE:This procedure extends the needed schema files using schemaStart.bat.

  5. Extend the NrfCaseupdate schema (update-nrf-case.sch) using the command listed in Step 2.

  6. Start eDirectory.

To extend the schema manually (SUSE):

  1. Install the Role and Resource Driver (as described under Section 3.3, Running the RBPM Install Program), with the Schema Extensions option unchecked in the Select Components window. Click Next.

    NOTE:If you are not able to use the GUI installer, you need to perform some additional steps manually. These steps are covered under Section 3.5, Extending the Schema Manually with a Non-GUI Install. The additional manual steps are required if you are installing RBPM on top of a non-root install of eDirectory and Identity Manager.

  2. Choose an appropriate install location for the Driver and click Next.

  3. Choose an appropriate install location for the Driver configuration files and click Next. Complete the installation.

    Steps 1 through 3 copy the Driver and Driver Configuration files in the Non-default location of eDirectory.

  4. Run the ndssch command to extend the schema (i.e. srvprv.sch, nrf-extensions.sch).

    ndssch [-h hostname[:port]] [-t tree_name] admin-FDN schemafile...
    

    For example:

    ndssch -h 172.16.1.137:524 -t TESTTREE -p 'PASSWORD'
    .cn=admin.o=novell.T=TESTTREE.
    /opt/novell/eDirectory/lib/nds-schema/srvprv.sch'
    
  5. Repeat Step 4 to extend nrf-extensions.sch.