Configuring a client connection policy using dsconfig
Creates and configure a new client connection policy using dsconfig
.
About this task
To create and configure a client connection policy:
Steps
-
Run the
dsconfig
tool.Example:
$ bin/dsconfig
-
Enter the connection parameters to the server.
Connection parameters can include:
-
Host name
-
Connection method
-
Port
-
bind distinguished name (DN)
-
Bind DN password
-
-
In the PingDirectoryProxy main menu, enter the selection for
Client connection policy configuration
. To create a new client connection policy, enter2
.Example:
>>>> Client connection policy menu What would you like to do? 1) List existing client connection policies 2) Create a new client connection policy 3) View and edit an existing client connection policy 4) Delete an existing client connection policy b) back q) quit Enter choice [b]: 2
-
To create a new client connection policy from scratch, enter
n
.Example:
>>>> Select an existing Client Connection Policy to use as a template for the new Client Connection Policy configuration or ‘n’ to create one from scratch: 1) default n) new Client Connection Policy created from scratch c) cancel q) quit
-
Enter a name for the new client connection policy.
Example:
Enter the 'policy-id' for the Client Connection Policy that you want to create: new_policy
-
To set up the policy to be enabled by default or not, select
true
orfalse
.Example:
Select a value for the 'enabled' property: 1) true 2) false ?) help c) cancel q) quit Enter choice [c]: 1
-
Enter a value for the
evaluation-order-index
property.Client connection policies with a lower index are evaluated before those with a higher index.
Example:
Enter a value for the 'evaluation-order-index' property: 2
Result:
The properties of your new client connection policy are displayed.
-
Optional: To make any further modifications, enter the number corresponding to the property.
-
To finish the creation of the client connection policy, enter
f
.Any changes that you make to the client connection policy don’t apply to existing connections. They only apply to new connections.