Oracle Target Connector CLI Configuration

This topic includes CLI commands and parameters for adding Oracle target applications and target accounts.
capam32
This topic includes CLI commands and parameters for adding Oracle target applications and target accounts.
 
 
2
 
 
Oracle Target Application CLI Parameters
To add an Oracle target application and connector using the CLI, use the addTargetApplication command and the following command parameters:
TargetApplication.type
The target application connector type.
Required
Default Value
Valid Value
yes
None
oracle
Attribute.extensionType
The target application extension type.
Required
Default Value
Valid Value
yes
None
oracle
Attribute.port
The port that is used to connect to an Oracle Database server.
Required
Default Value
Valid Value
yes
None
0-65535
Attribute.oidport (Oracle Internet Directory)
The port that is used to connect to an Oracle Internet Directory (LDAP) server. Do not specify for Oracle Database.
Required
Default Value
Valid Value
yes
None
0-65535
Attribute.sslEnabled
Specifies whether SSL is enabled.
Required
Default Value
Valid Values
yes
None
true, false
Attribute.sslCertificate
The SSL certificate.
Required
Default Value
Valid Value
Required if the protocol is SSL
None
X.509 digital certificate in BASE64 encoded format
Oracle Target Account CLI Parameters
To add an Oracle target account that uses the target connector, use the addTargetAccount command and the following command parameters:
Attribute.schema (Oracle Database)
The name of the database schema to which the account belongs. Do not specify this option for Oracle Internet Directory.
Required
Default Value
Valid Value
yes (for Oracle database)
None
string
Attribute.useOtherAccountToChangePassword
Specifies whether to use the target account or a different account to perform password change requests.
Required
Default Value
Valid Values
yes
None
true, false
Attribute.otherAccount
Specifies which other account to use to perform password change requests.
Required
Default Value
Valid Value
yes, if Attribute.useOtherAccountToChangePassword is true
None
A valid target account ID
Attribute.useOid (Oracle Database)
Specifies the connection type in use. Do not specify this option for Oracle Internet Directory.
Required
Default Value
Valid Values
yes
false
true, false
Attribute.sid (Oracle Internet Directory)
Specifies the System Identifier (SID) of the Oracle Internet Directory database instance. Do not specify this option for Oracle Database.
Required
Default Value
Valid Value
yes (for Oracle Internet Directory)
None
A valid SID (as specified during Oracle database installation). Example: orcl
Attribute.cn (Oracle Internet Directory)
Specifies the Common Name (CN) for an Oracle Context. Do not specify this option for Oracle Database.
Required
Default Value
Valid Value
yes
cn=OracleContext
A valid CN
Attribute.racService
Specifies whether the schema is a RAC service name.
Required
Default Value
Valid Values
yes
None
true, false
Attribute.sysdbaAccount
Specifies whether this user must authenticate as the 
Sysdba
 role.
Required
Default Value
Valid Values
yes
None
true, false
Attribute.replaceSyntax
Specifies whether the 
REPLACE
 syntax must be used for changing the password that is associated with 
otheraccounts
.
Required
Default Value
Valid Values
yes
None
true, false
Examples for Oracle Database
To specify an Oracle target application:
cmdName=addTargetApplication TargetServer.hostName=rh72 TargetApplication.name=myOracle
TargetApplication.type=oracle Attribute.port=1521
cmdName=addTargetAccount TargetServer.hostName=rh72 TargetApplication.name=myOracle TargetAccount.userName=system
TargetAccount.password=myPasswd
Attribute.schema=XE
Attribute.useOtherAccountToChangePassword=false
TargetAccount.privileged=true TargetAccount.synchronize=true
Attribute.useOid=false
To specify a synchronized Oracle target account:
cmdName=addTargetAccount TargetServer.hostName=rh72 TargetApplication.name=myOracle
TargetAccount.userName=system TargetAccount.password=myPasswd Attribute.schema=XE
Attribute.useOtherAccountToChangePassword=false TargetAccount.privileged=true
TargetAccount.synchronize=true Attribute.useOid=false
Examples for Oracle Internet Directory
To specify an Oracle Internet Directory target application:
cmdName=addTargetApplication TargetServer.hostName=rh72.forwardinc.com TargetApplication.name=myOracle
TargetApplication.type=oracle Attribute.port=1433 Attribute.oidPort=3060
To specify a synchronized Oracle Internet Directory target account:
cmdName=addTargetAccount TargetServer.hostName=rh72.forwardinc.com TargetApplication.name=myOracle
TargetAccount.userName=admin TargetAccount.password=p@ssw0rd TargetAccount.cacheBehavior=useCacheFirst
TargetAccount.cacheDuration=21
Attribute.sid=orcl
Attribute.cn=OracleContext
Attribute.useOtherAccountToChangePassword=false
Attribute.racService=false Attribute.sysdbaAccount=false Attribute.replaceSyntax=false