From 4bdf2c34ae5727c6f0e3d3d1f07299cbb4fe90d2 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Tue, 24 Jul 2012 12:20:51 +0000
Subject: [PATCH] Fix for OPENDJ-550: Broken example 5.2 in OpenDJ Admin Guide

---
 opendj3/src/main/docbkx/admin-guide/chap-privileges-acis.xml |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/opendj3/src/main/docbkx/admin-guide/chap-privileges-acis.xml b/opendj3/src/main/docbkx/admin-guide/chap-privileges-acis.xml
index 0a6599c..c394147 100644
--- a/opendj3/src/main/docbkx/admin-guide/chap-privileges-acis.xml
+++ b/opendj3/src/main/docbkx/admin-guide/chap-privileges-acis.xml
@@ -956,22 +956,22 @@
    <command>dsconfig set-access-control-handler-prop</command> command.</para>
 
    <para>First, remove the <literal>global-aci</literal> attribute value that
-   allows anonymous read access. The <literal>global-aci</literal> attribute
-   value should all be on one line.</para>
+   allows anonymous read access. Do not wrap the lines in the following
+   example if you use it as the basis for your script.</para>
 
-   <screen>dsconfig
- set-access-control-handler-prop
- --remove global-aci:\(targetattr!=\"userPassword\|\|authPassword\|\|changes\|
-  \|changeNumber\|\|changeType\|\|changeTime\|\|targetDN\|\|newRDN\|
-  \|newSuperior\|\|deleteOldRDN\|\|targetEntryUUID\|\|changeInitiatorsName\|
-  \|changeLogCookie\|\|includedAttributes\"\)\(version\ 3.0\;\ acl\ \"Anonymous
-  \ read\ access\"\;\ allow\ \(read,search,compare\)
-  \ userdn=\"ldap:///anyone\"\;\)
- --hostname opendj.example.com
- --port 4444
- --bindDN cn=Directory\ Manager
- --bindPassword password
- --trustAll
+   <screen>$ dsconfig \
+ set-access-control-handler-prop \
+ --remove global-aci:\(targetattr!=\"userPassword\|\|authPassword\|\|changes\|\
+\|changeNumber\|\|changeType\|\|changeTime\|\|targetDN\|\|newRDN\|\
+\|newSuperior\|\|deleteOldRDN\|\|targetEntryUUID\|\|changeInitiatorsName\|\
+\|changeLogCookie\|\|includedAttributes\"\)\(version\ 3.0\;\ acl\ \"Anonymous\
+\ read\ access\"\;\ allow\ \(read,search,compare\)\
+\ userdn=\"ldap:///anyone\"\;\)\
+ --hostname opendj.example.com \
+ --port 4444 \
+ --bindDN cn=Directory\ Manager \
+ --bindPassword password \
+ --trustAll \
  --no-prompt</screen>
 
    <para>If the <literal>global-aci</literal> does not match the ACI exactly

--
Gitblit v1.10.0