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:

  1. To create the Consent Service base DN, open a text editor and save the following to the consent-service-base-dn.ldif file.
    dn: ou=consents,dc=example,dc=com
    objectClass: top
    objectClass: organizationalUnit
    ou: consents
  2. Use ldapmodify to add the entry.
    $ bin/ldapmodify --defaultAdd --filename consent-service-base-dn.ldif