Sun Java System Delegated Administrator 6.4 Administration Guide

ProcedureTo replace ACIs

  1. Save your existing ACIs currently on the root suffix.

    You can use the ldapsearch command, as in the following example:

    ldapsearch -Dcn=Directory Manager-w <password> -s base -b <$rootSuffix> aci=* aci ><filename>

    where

    <password> is the password of the Directory Server administrator.

    <$rootSuffix> is your root suffix, such as o=usergroup.

    <filename> is the name of the file into which the saved ACIs will be written.

  2. Copy and rename the replacement.acis.ldif file.

    When you install Delegated Administrator, the replacement.acis.ldif file is installed in the following directory:

    da-base/lib/config-templates

  3. Edit the $rootSuffix entries in your copy of the replacement.acis.ldif file.

    Change the root suffix parameter, $rootSuffix, to your root suffix (such as o=usergroup). The $rootSuffix parameter appears multiple times in the ldif file; each instance must be replaced.

  4. Use the LDAP directory tool ldapmodify to replace the ACIs.

    For example, you could run the following command:

    ldapmodify -D <directory manager> -w <password> -f <replacement.acis.finished.ldif>

    where

    <directory manager> is the name of the Directory Server administrator.

    <password> is the password of the Directory Service administrator.

    <replacement.acis.finished.ldif> is the name of the edited ldif file that consolidates and removes ACIs in the directory.