Oracle® Identity Manager Connector Guide for Novell eDirectory Release 9.0.4 Part Number E10432-05 |
|
|
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 testing 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 testing utility:
Copy the contents of the test
directory on the installation media, to the OIM_HOME
/xellerate/eDir/test/troubleshoot
directory.
Specify the required values in the global.properties
file.
This file is in the OIM_HOME
/xellerate/eDir/test/troubleshoot
directory. The following table describes the sections of this file in which you must provide information for running the tests.
Section | Information |
---|---|
Novell eDirectory Server Parameters | Parameters required to connect to Novell eDirectory
Refer to the "Configuring the IT Resource" section for information about the values that you must provide. |
Create User Parameters | Values required to create a user on the target system |
Modify User Parameters | Values required to modify a user |
Delete User Parameters | DN of the user to be deleted |
Add the following to the CLASSPATH
environment variable:
OIM_HOME/xellerate/lib/xlLogger.jar OIM_HOME/xellerate/lib/xlUtils.jar OIM_HOME/xellerate/JavaTasks/eDirProv.jar OIM_HOME/xellerate/ScheduleTask/eDirRecon.jar OIM_HOME/xellerate/ThirdParty/ldapbp.jar OIM_HOME/xellerate/ext/log4j-1.2.9.jar
By default, log messages that are generated when you run the testing utility are displayed on the console. If you also want these messages to be recorded in a log file, then:
Open the following file in a text editor:
OIM_HOME/xellerate/eDir/test/troubleshoot/log.properties
Search for the following lines, and then uncomment them by removing the number sign (#) at the start of each line:
#log4j.appender.logfile=org.apache.log4j.DailyRollingFileAppender #log4j.appender.logfile.DatePattern='.'yyyy-MM-dd #log4j.appender.logfile.File=D:/elogfile/edirectory.log #log4j.appender.logfile.MaxBackupIndex=20 #log4j.appender.logfile.layout=org.apache.log4j.PatternLayout #log4j.appender.logfile.layout.ConversionPattern=%p %t %c - %m%n
If required, specify a new date pattern in the following line:
log4j.appender.logfile.DatePattern='.'yyyy-MM-dd
In the following line, specify the directory in which you want the log file to be generated:
log4j.appender.logfile.File=D:/elogfile/edirectory.log
Create an ASCII-format copy of the global.properties
file as follows:
Note:
You must perform this procedure every time you make a change in the contents of theglobal.properties
file.In a command window, change to the following directory:
OIM_HOME/xellerate/eDir/test/troubleshoot
Enter the following command:
native2ascii global.properties troubleshoot.properties
The troubleshoot.properties
file is created when you run the native2ascii
command. The contents of this file are an ASCII-format copy of the contents of the global.properties
file.
Run the following tests:
Enter the following command to create a Novell eDirectory user:
java -DpropertyFile=OIM_HOME/xellerate/eDir/test/troubleshoot/troubleshoot.properties -Dlog4j.configuration=file:/OIM_HOME/xellerate/eDir/test/troubleshoot/log.properties TroubleShootingUtilityLdap createUser
Enter the following command to modify a Novell eDirectory user:
java -DpropertyFile=OIM_HOME/xellerate/eDir/test/troubleshoot/troubleshoot.properties -Dlog4j.configuration=file:/OIM_HOME/xellerate/eDir/test/troubleshoot/log.properties TroubleShootingUtilityLdap modifyUser
Enter the following command to delete a Novell eDirectory user:
java -DpropertyFile=OIM_HOME/xellerate/eDir/test/troubleshoot/troubleshoot.properties -Dlog4j.configuration=file:/OIM_HOME/xellerate/eDir/test/troubleshoot/log.properties TroubleShootingUtilityLdap deleteUser
To test partial reconciliation, you can specify the following types of query conditions as values for the CustomizedReconQuery
IT resource parameter:
Value assigned to the CustomizedReconQuery
parameter:
group=group1
Outcome: Records of users belonging to group1
are reconciled.
Value assigned to the CustomizedReconQuery
parameter:
sn=Doe&group=group1
Outcome: Records of users with last name Doe
and belonging to group1
are reconciled.
Query consisting of roles and basic attributes
Value assigned to the CustomizedReconQuery
parameter: sn=Doe&role=role1
Outcome: Users with last name Doe
and who belong to role1
are reconciled.
Value assigned to the CustomizedReconQuery
parameter: sn=Doe&role=role1,role2
Outcome: Users with last name Doe
and who belong to both the roles role1
and role2
are reconciled.
Value assigned to the CustomizedReconQuery parameter:
sn=Doe&group=group1&role=role1
Outcome: Records of users with last name Doe
and who belong to group1
as well as role1
are reconciled.
You can test reconciliation based on batching and data paging of user records by specifying values for the following user reconciliation scheduled task attributes:
If you set the value of StartRecord
to 1
, BatchSize
to 0
, and NumberOfBatches
to All Available
, then all the users are reconciled.
If you set the value of StartRecord
to 1
, BatchSize
to 5
, and NumberOfBatches
to 50
, then the user records starting from record 1 are reconciled in 50 batches, with 5 records in each batch.
If you set the value of StartRecord
to 200
, BatchSize
to 5
, and NumberOfBatches
to 50
, then the users starting from record 200 are reconciled in 50 batches, with 5 records in each batch.
The results of batching are displayed in the logger file, which is located in the following path:
JBOSS_HOME/server/default/log/server.log
In this file, you can view the batch numbers, the user ids of the users that are reconciled, and whether the reconciliation is successful or not.
This section provides instructions for identifying and resolving some commonly encountered errors of the following types:
The following table provides solutions to some commonly encountered connection errors.
Problem Description | Solution |
---|---|
Oracle Identity Manager cannot establish a connection to Novell eDirectory.
Returned Error Message: Error encountered while connecting to target server Returned Error Code:
|
|
Target not available.
Returned Error Message: Target server is not available Returned Error Code:
|
Ensure that the specified Novell eDirectory connection values are correct. |
Returned Error Message:
Invalid or incorrect password Returned Error Code:
|
Ensure that the specified Novell eDirectory connection values are correct. |
The following table provides solutions to some 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:
|
A user with the assigned ID already exists in Novell eDirectory. |
Oracle Identity Manager cannot create a user.
Returned Error Message: Naming exception encountered Returned Error Code:
|
|
Oracle Identity Manager cannot create a user.
Returned Error Message: Could not create user Returned Error Code:
|
The user cannot be created because one or more attribute values violate the schema definition. |
The Create User function 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.EDIR lookup definition, check if the decode values are valid attribute names in the target system. |
The Create User function failed because an invalid value was specified.
Returned Error Message: Invalid value specified for an attribute Returned Error Code:
|
Check the values specified during user creation. |
The following table provides solutions to some commonly encountered Modify User errors.
Problem Description | Solution |
---|---|
Oracle Identity Manager cannot modify the value of a user.
Returned Error Message: Invalid attribute value or state Returned Error Code:
|
Check the attribute ID and value that were specified. |
The Modify User function failed because a value was being added to a nonexistent attribute.
Returned Error Message: Attribute does not exist Returned Error Code:
|
|
The Modify User function failed because an invalid value was specified.
Returned Error Message: Invalid value specified for an attribute Returned Error Code:
|
Check the value entered. |
The Modify User function failed because a value was specified for an attribute that does not exist in the AttrName.Prov.Map.EDIR lookup definition.
Returned Error Message: One or more attribute mappings are missing Returned Error Code:
|
|
Error caused because a duplicate value was specified for an attribute.
Returned Error Message: Duplicate value encountered Returned Error Code:
|
The attribute specified already exists for another user in the system. |
Oracle Identity Manager cannot move a user from one container to another.
Returned Error Message: Could not move user to a different container 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 Novell eDirectory. |
Oracle Identity Manager cannot add a user to a security group.
Returned Error Message: Duplicate value encountered Returned Error Code:
|
The user is already a member of the specified security group. |
Oracle Identity Manager cannot add the trustee right to a user.
Returned Error Message: Duplicate value encountered Returned Error Code:
|
Check if the trustee right has already been assigned to the user in Novell eDirectory. |
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 Novell eDirectory. Create the role in Novell eDirectory. |
Oracle Identity Manager cannot add a role to a user.
Returned Error Message: Could not update user Returned Error Code:
|
Generic error. Review the log for more details. |
Oracle Identity Manager cannot add a role to a user.
Returned Error Message: Duplicate value encountered Returned Error Code:
|
The user has already been assigned this role. |
Oracle Identity Manager cannot remove an assigned role from a user.
Returned Error Message: Could not remove assigned role Returned Error Code:
|
Generic error. Review the log for more details. |
Oracle Identity Manager cannot add a network restriction.
Returned Error Message: Duplicate value encountered Returned Error Code:
|
The specified network restriction already exists for this user in Novell eDirectory. |
The following table provides solutions to a commonly encountered Delete User error.
Problem Description | Solution |
---|---|
Oracle Identity Manager cannot delete a user.
Returned Error Message: User does not exist Returned Error Code:
|
User is already deleted in the target |