Oracle® Identity Manager Connector Guide for Sun Java System Directory Release 9.0.3 Part Number B32373-02 |
|
|
View PDF |
After you deploy the connector, you must test it to ensure that it functions as expected. This chapter discusses the following topics related to connector testing:
You can use the troubleshooting utility to identify the cause of problems associated with connecting to the target system and performing basic operations on the target system.
To use the troubleshooting utility:
Set the required values in the TroubleShootIPlanet.properties
file.
This file is in the OIM_home
\xellerate\troubleshoot
directory. The following table describes the sections of this file in which you must provide information for running the tests.
Section | Information |
---|---|
Sun Java System Directory Server connection parameters | Connection parameters required to connect to the target system
Refer to the "Defining IT Resources" section for information about the values that you must provide. |
Create User information | Values required to create a user |
Modify User information | Values required to modify a user |
Delete User information | DN of the user to be deleted |
Add the following to the CLASSPATH
environment variable:
OIM_home\xellerate\JavaTasks\xliIPlanet.jar OIM_home\xellerate\lib\xlLogger.jar OIM_home\xellerate\ext\log4j-1.2.8.jar OIM_home\xellerate\lib\xlUtils.jar
Create an ASCII-format copy of the TroubleShootIPlanet.properties
file as follows:
Note:
You must perform this procedure every time you make a change in the contents of theTroubleShootIPlanet.properties
file.In a command window, change to the following directory:
OIM_home\xellerate\troubleshoot
Enter the following command:
native2ascii TroubleShootIPlanet.properties global.properties
The global.properties
is created when you run the native2ascii
command. The contents of this file are an ASCII-format copy of the contents of the TroubleShootIPlanet.properties
file.
Perform the following tests:
Create a user as follows:
java -DpropertyFile=.\global.properties -Dlog4j.configuration=.\log.properties TroubleShootingUtilityIPlanet createUser
Modify a user as follows:
java -DpropertyFile=.\global.properties -Dlog4j.configuration=.\log.properties TroubleShootingUtilityIPlanet modifyUser
Delete a user as follows:
java -DpropertyFile=.\global.properties -Dlog4j.configuration=.\log.properties TroubleShootingUtilityIPlanet deleteUser
The following sections list solutions to some commonly encountered errors of the following types:
The following table describes solutions to commonly encountered Create User errors.
Problem Description | Solution |
---|---|
Oracle Identity Manager cannot establish a connection to Sun Java System Directory.
Returned Error Message: LDAP Connection exception Returned Error Code:
|
|
Target not available
Returned Error Message: Connection error - unable to create initial LDAP context. Returned Error Code
|
Ensure that the specified Sun Java System Directory server connection values are correct. |
Authentication error
Returned Error Messages Connection error - unable to create Initial LDAP Returned Error Code
|
Ensure that the specified Sun Java System Directory server connection values are correct. |
The following table describes solutions to commonly encountered Create User errors.
Problem Description | Solution |
---|---|
Oracle Identity Manager cannot create a user.
Returned Error Message: Required information missing Returned Error Code:
|
|
Oracle Identity Manager cannot create a user.
Returned Error Message: User already exists Returned Error Code:
|
Check if a user with the specified ID already exists in Sun Java System Directory.
Assign a new ID for this user, and try again. |
Oracle Identity Manager cannot create a user.
Returned Error Message: Connection error - unable to create initial LDAP context Returned Error Code:
|
|
Oracle Identity Manager cannot create a user.
Returned Error Message: User creation failed Returned Error Code:
|
Check if an attribute value violates the schema definition. |
The Create User operation failed because a value was being added to a nonexistent attribute.
Returned Error Message: Attribute does not exist Returned Error Code:
|
In the AttrName.Prov.Map.iPlanet lookup definition, check if the decode values are valid attribute names in the target system. |
The Create User operation failed because an invalid value was being added.
Returned Error Message: Invalid value specified for an attribute Returned Error Code:
|
Check the values specified during user creation. |
The following table describes solutions to commonly encountered Modify User errors.
Problem Description | Solution |
---|---|
Oracle Identity Manager cannot modify the attribute value of a user.
Returned Error Message: Invalid attribute value or state Returned Error Code:
|
Check the specified user ID. |
The Modify User operation failed because a value was being added to a nonexistent attribute.
Returned Error Message: Attribute does not exist Returned Error Code:
|
|
The Modify User operation failed because an invalid value was being added.
Returned Error Message: Invalid value specified for an attribute Returned Error Code:
|
Check the value specified. |
The Modify User operation failed because of an attempt to add a value to an attribute that does not exist in the AttrName.Recon.Map.iPlanet lookup definition.
Returned Error Message: One or more attribute mappings are missing Returned Error Code:
|
|
The operation failed because a duplicate value was being added to an attribute.
Returned Error Message: Duplicate value Returned Error Code:
|
Check the value specified. |
Oracle Identity Manager cannot move a user from one container to another.
Returned Error Message: Moving user to different container failed Returned Error Code:
|
Generic error. Review the log for more details. |
Oracle Identity Manager cannot add a user to a security group.
Returned Error Message: Group does not exist Returned Error Code:
|
The specified user security group does not exist in Sun Java System Directory. Check the group name. |
Oracle Identity Manager cannot add a user to a group.
Returned Error Message: User is already a member of this group Returned Error Code:
|
The user is already a member of the group. |
Oracle Identity Manager cannot add a role to a user.
Returned Error Message: Role does not exist Returned Error Code:
|
The specified role for the user in Oracle Identity Manager does not exist in Sun Java System Directory. Create the role in Sun Java System Directory. |
Oracle Identity Manager cannot add a role to a user.
Returned Error Message: Error while updating user info Returned Error Code:
|
Generic error. Review the log for more details. |
Oracle Identity Manager cannot add a role to a user.
Returned Error Message: User has already been assigned this role Returned Error Code:
|
The user has already been assigned this role. |
Oracle Identity Manager cannot remove a role assigned to a user.
Returned Error Message: Removing assigned role failed Returned Error Code:
|
Generic error. Review the log for more details. |
The following table describes the solution to a commonly encountered Delete User error.
Problem Description | Solution |
---|---|
Oracle Identity Manager cannot delete a user.
Returned Error Message: User does not exist in target Returned Error Code:
|
The specified user does not exist in Sun Java System Directory. |
The following table describes the solution to a commonly encountered reconciliation error.
Problem Description | Solution |
---|---|
Oracle Identity Manager cannot reconcile users from Sun Java System Directory.
Returned Error Message:
Returned Error Code:
|
Change the Sun Java System Directory configuration as follows:
|