SPML Target Connector CLI Configuration

This topic includes CLI commands and parameters for adding Active Directory target applications and target accounts.
capam32
This topic includes CLI commands and parameters for adding Active Directory target applications and target accounts.

SPML Target Connector CLI Parameters

To add an SPML 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 Values
yes
N/A
SPML2
Attribute.extensionType
Required
Default Value
Valid Values
yes
N/A
SPML2
Attribute.port
The port that is used to connect to the SPML server.
Required
Default Value
Valid Values
yes
N/A
0-65535
Attribute.path
Path to the SPML service.
Required
Default Value
Valid Values
no
N/A
Text string
Attribute.protocol
The protocol that is used to connect to the SPML server.
Required
Default Value
Valid Values
no
clear
clear, ssl
Attribute.sslCertificate
The Active Directory SSL certificate.
Required
Default Value
Valid Values
Require if the protocol is
SSL
.
N/A
X.509 digital certificate in BASE64 encoded format

SPML Target Account CLI Parameters

To add an Active Directory target account that uses the target connector, use the addTargetAccount command and the following command parameters:
Attribute.extensionType
Required
Default Value
Valid Values
yes
N/A
SPML2
Attribute.useOtherAccountToChangePassword
Specifies whether to use the target account or a different account to perform password change requests.
Required
Default Value
Valid Values
yes
N/A
true, false
Attribute.otherAccount
Specifies which other account to use to perform password change requests.
Required
Default Value
Valid Values
yes if
Attribute.useOtherAccountToChangePassword
is true.
N/A
A valid target account ID.

SPML CLI Example

cmdName=addTargetApplication TargetServer.hostName=myHostName.myDomain.com TargetApplication.name=spmlAppl
TargetApplication.type=SPML2 Attribute.path=myServletPath Attribute.port=389
cmdName=addTargetAccount TargetServer.hostName=myhostname.mydomain.com TargetApplication.name=spmlAppl
TargetAccount.userName=admin TargetAccount.password='p@ssw0rd' TargetAccount.cacheBehavior=useCacheFirst
TargetAccount.cacheDuration=21 Attribute.useOtherAccountToChangePassword=false