mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Gaetan Boismal
03.16.2014 30d6c727055491fce991f162f6b7baabac6a28d0
OPENDJ-1647: Fix error when getting Root DN properties (using dsconfig)

Adds 'changelog-read' privilege in all SDK files impacted
3 files modified
15 ■■■■■ changed files
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GlobalConfiguration.xml 8 ●●●● patch | view | raw | blame | history
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDNConfiguration.xml 6 ●●●●● patch | view | raw | blame | history
opendj-server2x-adapter/src/test/resources/config/config.ldif 1 ●●●● patch | view | raw | blame | history
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GlobalConfiguration.xml
@@ -23,7 +23,7 @@
  !
  !
  !      Copyright 2007-2010 Sun Microsystems, Inc.
  !      Portions Copyright 2011-2012 ForgeRock AS
  !      Portions Copyright 2011-2014 ForgeRock AS
  ! -->
<adm:managed-object name="global" plural-name="globals"
  package="org.forgerock.opendj.server.config"
@@ -681,6 +681,12 @@
            operations.
          </adm:synopsis>
        </adm:value>
        <adm:value name="changelog-read">
          <adm:synopsis>
            The privilege that provides the ability to perform read
            operations on the changelog
          </adm:synopsis>
        </adm:value>
      </adm:enumeration>
    </adm:syntax>
    <adm:profile name="ldap">
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDNConfiguration.xml
@@ -77,6 +77,7 @@
        <adm:value>privilege-change</adm:value>
        <adm:value>unindexed-search</adm:value>
        <adm:value>subentry-write</adm:value>
        <adm:value>changelog-read</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
@@ -216,6 +217,11 @@
            Allows the associated user to perform LDAP subentry write
            operations.
          </adm:synopsis>
        </adm:value>
        <adm:value name="changelog-read">
          <adm:synopsis>
            Allows the user to perform read operations on the changelog
          </adm:synopsis>
        </adm:value>
      </adm:enumeration>
    </adm:syntax>
opendj-server2x-adapter/src/test/resources/config/config.ldif
@@ -1923,6 +1923,7 @@
ds-cfg-default-root-privilege-name: privilege-change
ds-cfg-default-root-privilege-name: unindexed-search
ds-cfg-default-root-privilege-name: subentry-write
ds-cfg-default-root-privilege-name: changelog-read
dn: cn=Directory Manager,cn=Root DNs,cn=config
objectClass: top