Oracle® Identity Manager Connector Guide for Sun Java System Directory Release 9.0.1 Part Number B31139-01 |
|
|
View PDF |
After you deploy the connector, you must test it to ensure that it functions as expected.
This chapter contains the following sections:
This section discusses test cases that you can perform by using the troubleshooting utility.
You can use the troubleshooting utility to directly use the connector for identifying the cause of problems associated with connecting to the target system server and performing basic operations on the target system.
Before you can use the troubleshooting utility, you must set the required values in the TroubleShootIPlanet.properties
file. This file is in the xellerate_home
\xellerate\troubleshoot
directory. The following tables describes the sections of this file.
Section Name | Information |
---|---|
Sun Java System Directory Server Connection Parameters | Connection parameters required to connect to the target system |
Create User | Values requited to create a user on the target system |
Modify User | Values required to modify a user |
Delete User | DN of the user to be deleted |
After you specify the required values in the TroubleShootIPlanet.properties
file, set the classpath for the xliIPlanet.jar
file. Refer to the "Step 2: Copying the Connector Files and External Code" section for information about the location of this file.
In addition, you must set the classpath for the following JAR files:
xellerate_home
\xellerate\lib\xlLogger.jar
xellerate_home
\xellerate\lib\xlUtils.jar
xellerate_home
\xellerate\JavaTasks\xliPlanet.jar
log4j.jar
file in the application server installation directory
Then, perform the following tests:
Create a user as follows:
java -DpropertyFile= xellerate_home/xellerate/troubleshoot/TroubleShootIPlanet.properties -Dlog4j.configuration=file:/xellerate_home/xellerate/troubleshoot /log.properties TroubleShootingUtilityIPlanet createUser
Modify a user as follows:
# java -DpropertyFile= xellerate_home/xellerate/troubleshoot/TroubleShootIPlanet.properties -Dlog4j.configuration=file:/xellerate_home/xellerate/troubleshoot /log.properties TroubleShootingUtilityIPlanet modifyUser
Delete a user as follows:
# java -DpropertyFile= xellerate_home/xellerate/troubleshoot/TroubleShootIPlanet.properties -Dlog4j.configuration=file:/xellerate_home/xellerate/troubleshoot/log.properties TroubleShootingUtilityIPlanet deleteUser
Note:
Ensure that the location of theTroubleShootIPlanet.properties
and log.properties
files is correctly specified.The following table lists solutions to some commonly encountered problems associated with the connector.
Problem Description | Solution |
---|---|
Oracle Identity Manager cannot establish a connection to the Sun Java System Directory server.
Returned Error Message: LDAP Connection exception Returned Error Code:
|
|
Target not available
Returned Error Message: Connection error - unable to create Initial LDAP. 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 connection values are correct. |
Oracle Identity Manager cannot create a user.
Returned Error Message: Require 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 assigned 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 LDAPContext 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. |
Trying to add a value to a nonexistent attribute. Therefore, the Create User operation failed.
Returned Error Message: Attribute does not exist Returned Error Code:
|
In the AttrName.Recon.Map.iPlanet lookup definition, check if the decode values are valid attribute names in the target system. |
Trying to add an invalid value. Therefore, the Create User operation failed.
Returned Error Message: Invalid value specified for an attribute Returned Error Code:
|
Check the values entered during user creation. |
Oracle Identity Manager cannot delete a user.
Returned Error Message: User does not exist in target Returned Error Code:
|
The specified user ID does not exist in Sun Java System Directory. |
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. |
Trying to add a value to a nonexistent attribute. Therefore, the Modify User operation failed.
Returned Error Message: Attribute does not exist Returned Error Code:
|
|
Trying to add an invalid value. Therefore, the Modify User operation failed.
Returned Error Message: Invalid value specified for an attribute Returned Error Code:
|
Check the value specified. |
Trying to add a value to an attribute that does not exist in the AttrName.Recon.Map.iPlanet lookup definition. Therefore, the Modify User operation failed.
Returned Error Message: One or more attribute mappings are missing Returned Error Code:
|
|
Trying to add a duplicate value 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 user security group specified 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. |
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:
|