Creates and configure a new client connection policy using dsconfig.
-
Run the dsconfig tool.
$ 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 Directory Proxy Server main menu, enter the selection
for
Client connection policy configuration
. To create a new client connection policy, enter2
.>>>> 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.
>>>> 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.
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
.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.Note:Client connection policies with a lower index are evaluated before those with a higher index.
Enter a value for the 'evaluation-order-index' property: 2
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.
Note:
Any changes that you make to the client connection policy don't apply to existing connections. They only apply to new connections.