This section provides details about the NrfCaseUpdate utility. Topics include:
The NrfCaseUpdate procedure is necessary to provide support for mixed-case searching on roles and resources. This procedure updates the schema by modifying the nrfLocalizedDescrs and nrfLocalizedNames attributes, which are used by User Application drivers. The procedure is required before installing RBPM 4.0.2 and before migrating existing drivers in Designer 4.0.2, if your eDirectory tree was created with 3.6.1 or an earlier release of the RBPM. This step is not required if you are doing a new installation of version 4.0.2 or are upgrading from 3.7.
This section provides an overview of the steps for upgrading and migrating your existing RBPM environment. This overview emphasizes use of Designer 4.0.2 to create backups of User Application drivers before proceeding with any upgrade.
Install Designer 4.0.2.
Run a health check of the Identity Vault to make sure the schema extends properly. Use TID 3564075 to complete the health check.
Import existing User Application drivers into Designer 4.0.2.
Archive the Designer project. It represents the pre-RBPM 4.0.2 state of the driver.
Run the NrfCaseUpdate process.
Create a new Designer 4.0.2 project and import the User Application driver to prepare for migration.
Install RBPM 4.0.2.
Migrate the driver using Designer 4.0.2.
Deploy the migrated driver.
When the NrfCaseUpdate utility updates existing attributes in the eDirectory schema, any existing instances of those attributes are effectively deleted. User Application drivers use these attributes and thus will be affected by this schema update, specifically roles and separation of duties names and descriptions, custom attestation requests, and reports.
The NrfCaseUpdate procedure updates existing User Application drivers by providing a utility for exporting existing User Application drivers to an LDIF file before running the schema update. Importing the LDIF files after the schema update effectively recreates any objects deleted during the schema update.
As always, it is important that you back up any existing User Application drivers as a precaution. Remember that schema updates will affect all Identity Manager partitions, so it is very important to use NrfCaseUpdate to export any User Application drivers in the tree.
It is recommended that you use Designer to create a backup of your User Application drivers. Before running the NrfCaseUpdate procedure, you should follow this procedure to back up your existing User Application drivers:
Install Designer 4.0.2, which ships with RBPM 4.0.2.
Create an Identity Vault and map it to your Identity Manager server containing your User Application drivers.
Use thecommand to import your Driver Set and User Application drivers.
Save and archive this Designer project.
NrfCaseUpdate will prompt you to export each driver and then will perform the schema update. If you are unsure about the existence or location of any existing User Application drivers, you should not proceed, as the schema update may invalidate any existing User Application drivers.
The JRE provided under the Identity Manager installation directory, typically /root/idm/jre, can be used to run NrfCaseUpdate. If you require SSL connections to eDirectory, you will need to enable your JRE for SSL connections by following the instructions in Section 3.2.7, Enabling the JRE for SSL Connections.
Alternatively, you may run the NrfCaseUpdate utility remotely from a host with a JRE that contains the eDirectory certificate, such as the User Application server host. In this case, you will need to exit the NrfCaseUpdate utility using CTRL-C after exporting all drivers to LDIF and before the schema update. Then, you can manually update the schema on the eDirectory host using the ndssch command, as shown below:
ndssch -h hostname adminDN update-nrf-case.sch
NOTE:NrfCaseUpdate can accept several arguments to the command line. Pass -help or -? for more information.
Follow these steps to run NrfCaseUpdate:
Verify that you have completed a health check of the Identity Vault before running the NrfCaseUpdate utility. Use TID 3564075 to complete the health check.
Identify all the DNs of any existing User Application drivers before you start the utility. You will need authentication credentials to export these drivers to LDIF.
Run the NrfCaseUpdate utility. You may optionally pass the -v option to obtain more verbose output:
/root/idm/jre/bin/java -jar NrfCaseUpdate.jar -v
You will be asked if you have an existing User Application driver. Answer true if you have an existing User Application driver. Otherwise, answer false and skip to Step 15.
Do you currently have a User Application Driver configured [DEFAULT true] :
Next, the utility asks if you have more than one User Application driver. Answer true if you have more than one User Application driver:
Do you currently have more than one (1) User Application Driver configured [DEFAULT false] :
Specify the DN of the administrator with proper credentials for exporting the User Application driver:
Specify the DN of the Identity Vault administrator user. This user must have inherited supervisor rights to the user application driver specified above. (e.g. cn=admin,o=acme):
Enter the password for this administrator:
Specify the Identity Vault administrator password:
Enter the host name or IP address of the Identity Manager server hosting the User Application driver:
Specify the DNS address of the Identity Vault (e.g acme.com):
Specify the port to be used for the connection:
Specify the Identity Vault port [DEFAULT 389]:
The next question asks if you will use SSL for the connection. If you want to use SSL, the JRE requires the eDirectory certificate to be in the trusted store. To persist the certificate, follow the instructions in Section 3.2.7, Enabling the JRE for SSL Connections.
Use SSL to connect to Identity Vault: [DEFAULT false] :
Specify the fully qualified distinguished name of the User Application driver that will be exported:
Specify the fully qualified LDAP DN of the User Application driver located in the Identity Vault (e.g. cn=UserApplication,cn=driverset,o=acme):
If the DN includes a space, it has to be included in single quotes, as shown below:
Specify a name for the LDIF file where the User Application will be exported:
Specify the LDIF file name where the restore data will be written (enter defaults to nrf-case-restore-data.ldif):
The utility will post information about the objects saved to the LDIF.
If you indicated you have multiple drivers, you will see the following prompt:
You indicated you have more than one (1) User Application Driver to configure. Do you have another driver to export? [DEFAULT false] : If you have another driver to export then specify true. The utility will repeat Steps 5 through 12 for each driver. If you do not have another driver to export then specify false. Ensure that you have exported all existing drivers before proceeding as the utility will proceed with the schema update.
You will be prompted for the location of your ndssch utility, along with the typical locations. The ndssch utility is used for updating the schema.
Please enter the path to the schema utility: For Unix/Linux typically /opt/novell/eDirectory/bin/ndssch For Windows C:\Novell\NDS\schemaStart.bat:
The utility will post the status message for the schema update:
Schema has successfully been updated for mixed case compliance!
NOTE:Be sure to give eDirectory enough time to synchronize the schema changes. If you don’t allow enough time, the import of the LDIF file fail.
Run another health check on the Identity Vault to verify that the schema was extended properly before importing the LDIF file. Use TID 3564075 to complete the health check.
After all drivers have been exported and the schema update has been applied successfully, you need to import each LDIF file. You should indicate to allow forward references in your ice command. A suggested command line is shown below:
ice -l [mylogfile.log] -v -SLDIF -f [your_created_ldif] -c -DLDAP -s [hostname] -p [389/636] -d [cn=myadmin,o=mycompany] -w [MYPASSWORD] -F -B
After all drivers have been re-imported, verify that the NrfCaseUpdate process was successful. See Section 3.2.6, Verification of the NrfCaseUpdate Process for more information.
After you have verified that the NrfCaseUpdate process was successful, you may continue with the RBPM 4.0.2 installation.
After all drivers have been re-imported, verify that the restoration was successful by reviewing the following items in the User Application:
Role names and descriptions
Separation of duties names and descriptions
Attestation requests, including custom requests
After you complete the verification, you can continue with installation and upgrade to RBPM 4.0.2.
This section explains how to configure the JRE to use an SSL connection.
First, export a self-signed certificate from the certificate authority in the Identity Vault:
From iManager, in theview, click .
Select the certificate authority object for the Identity Vault, then click TREENAME CA.Security.. It is usually found in the Security container and named as
When you are asked if you want to export the private key with the certificate, click, then click .
Select binary DER format.
Click the link.
Browse to a location on your computer where you want to save the file, then click.
Next, import the self-signed certificate into the JRE's trusted store.
Use the keytool utility that is included in the JRE.
Import the certificate into the Role Mapping Administrator’s trust store by entering the following command at a command prompt:
keytool -import -file name_of_cert_file -trustcacerts -noprompt -keystore filename -storepass password
keytool -import -file tree_ca_root.b64 -trustcacerts -noprompt -keystore cacerts -storepass changeit
If the schema update is applied to an existing User Application driver before that driver has been processed using NrfCaseUpdate, it will be invalidated and you will need to restore that driver using a backup.
IMPORTANT:It is essential that you do not delete or rename the invalidated User Application driver, since doing so will also invalidate all the driver's associations. Additionally, if the Role and Resource Service driver is running, and you delete the User Application driver, the Role and Resource Service driver will detect the role deletions and remove the roles from the assigned users.
Additionally, it is not sufficient to redeploy the backed up driver to Identity Manager as the schema change cannot be reconciled in this manner. The following procedure performs the restoration by deploying a renamed copy of the driver in order to generate the data to be restored.
The following procedure outlines the process for restoring the User Application driver backup using Designer 4.0.2:
Restart the eDirectory server to ensure that the schema modification has taken effect.
Open a copy of the Designer 4.0.2 project containing the backup of the User Application driver, UserAppDriver. Since this procedure modifies the driver name so it is important to use a copy of the project.
Select the connector between the User Application driver and the Identity Vault, right-click and choose.
Specify a new name such as UserAppDriver_restore. Select and .
Clickto save the project.
Synchronize the ID Vault schema by selecting the ID Vault and choosingand choose to .
Save the project.
Deploy the renamed driver by selecting the driver and choosing.
Run NrfCaseUpdate and export the newly named driver to an LDIF file.
Make a copy of the LDIF file for editing.
Edit the LDIF file and rename all the driver references to reflect the User Application driver that you are restoring. For example, if your original User Application driver is cn=UserAppDriver then you would rename cn=UserAppDriver_restore to cn=UserAppDriver. This step effectively builds an LDIF file reflecting the real User Application driver.
Import the modified LDIF file using ice:
ice -l[mylogfile.log] -v -SLDIF -f[your_created_ldif] -c -DLDAP -s[hostname] -p[389/636] -d[cn=myadmin,o=mycompany] -w[MYPASSWORD] -F -B
Note the status of the import using ice to ensure it was successful.
Follow the instructions under Section 3.2.6, Verification of the NrfCaseUpdate Process to verify the restoration of the driver.
Delete the renamed driver from the Driver Set.