PingDirectory

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

  1. Run the dsconfig tool.

    Example:

    $ bin/dsconfig
  2. Enter the connection parameters to the server.

    Connection parameters can include:

    • Host name

    • Connection method

    • Port

    • bind distinguished name (DN)

    • Bind DN password

  3. In the PingDirectoryProxy main menu, enter the selection for Client connection policy configuration. To create a new client connection policy, enter 2.

    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
  4. 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
  5. 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
  6. To set up the policy to be enabled by default or not, selecttrue or false.

    Example:

    Select a value for the 'enabled' property:
    
      1) true
      2) false
    
      ?) help
      c) cancel
      q) quit
    
    Enter choice [c]: 1
  7. 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.

  8. Optional: To make any further modifications, enter the number corresponding to the property.

  9. 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.