PingDirectory

Creating a container entry for consent records

Each consent record is a distinct entry in the PingDirectory server. The Consent Service requires that these entries are stored under a common base distinguished name (DN).

About this task

The base-dn property of the Consent Service configuration defines the base DN. The Consent Service LDIF file sets the base DN.

To choose a different location to store consent records:

Steps

  1. To create the Consent Service base DN, open a text editor and save the following to the consent-service-base-dn.ldif file.

    Example:

    dn: ou=consents,dc=example,dc=com
    objectClass: top
    objectClass: organizationalUnit
    ou: consents
  2. Use ldapmodify to add the entry.

    Example:

    $ bin/ldapmodify --defaultAdd --filename consent-service-base-dn.ldif